public async Task <IActionResult> MarketForParts(int page = 1) { _logger.LogInformation("view market parts"); var viewModel = new MarketViewModels { Parts = market.GetPartsForMarket(page), CurrentPage = page, Total = market.TotalParts(), }; return(this.View(viewModel)); }