BistroDriveWebApp.Models.GeolocationRepository.GetCityById C# (CSharp) Méthode

GetCityById() public méthode

public GetCityById ( int id ) : city
id int
Résultat city
        public city GetCityById(int id)
        {
            return bufferedCity.FirstOrDefault(c => c.id_city == id);
        }