Esempio n. 1
0
 public IQueryable <CityDTO> GetCitiesByCountry(int countryId)
 {
     return(_cityRepo.GetCitiesByCountryId(countryId).Select(CityDTO.Create()));
 }
Esempio n. 2
0
 public IQueryable <CityDTO> GetCities()
 {
     return(_cityRepo.GetCities().Select(CityDTO.Create()));
 }