Esempio n. 1
0
        public async Task <IActionResult> MarketForPilots(int page = 1)
        {
            _logger.LogInformation("view market pilots");
            var viewModel = new MarketViewModels
            {
                Pilots      = market.GetPilotsForMarket(page),
                CurrentPage = page,
                Total       = market.TotalPilots(),
            };

            return(this.View(viewModel));
        }