public async Task <IActionResult> Index() { var cities = await _forecastService.GetCitiesAsync(); return(View(cities.ToDictionary(key => key.Id, value => value.Name))); }