예제 #1
0
        public async Task <IActionResult> Index()
        {
            SearchModel model = new SearchModel()
            {
                Currencies = await _currRep.GetAllCurrencies(),
                IataCodes  = await _iataRep.GetAllIatas()
            };

            return(View(model));
        }
예제 #2
0
 // GET: Iatas
 public async Task <IActionResult> Index()
 {
     return(View(await _iata.GetAllIatas()));
 }