Exemplo n.º 1
0
        // GET: Settings
        public async Task <ActionResult> Index()
        {
            var cities = await _weatherService.GetCitiesAsync();

            return(View(cities));
        }
Exemplo n.º 2
0
 public async Task <IEnumerable <CityEntity> > GetDefaultCities()
 {
     return(await _weatherService.GetCitiesAsync());
 }