public async Task <ActionResult> Index() { var localCompaniesPreferences = await _taxiHailNetworkService.GetNetworkCompanyPreferences(_serverSettings.ServerData.TaxiHail.ApplicationKey); var roamingCompaniesPreferences = await _taxiHailNetworkService.GetRoamingCompanyPreferences(_serverSettings.ServerData.TaxiHail.ApplicationKey); if (localCompaniesPreferences == null || roamingCompaniesPreferences == null) { return(View()); } var companies = new Dictionary <string, List <CompanyPreferenceResponse> > { { "Local", localCompaniesPreferences } }; foreach (var market in roamingCompaniesPreferences.Keys) { companies.Add(market, roamingCompaniesPreferences[market]); } return(View(companies)); }