public async Task <IActionResult> Index() { SearchModel model = new SearchModel() { Currencies = await _currRep.GetAllCurrencies(), IataCodes = await _iataRep.GetAllIatas() }; return(View(model)); }
// GET: Iatas public async Task <IActionResult> Index() { return(View(await _iata.GetAllIatas())); }