public IActionResult Buys() { var buys = _buyService.GetAllBuys(); var firtTicket = _buyService.GetFirstMatchName(); var firstCustomer = _buyService.GetFirstCustomer(); var numberOfBuys = _buyService.GetAllNumberOfBuys(); var mostPopularTicket = _buyService.GetMostPopularMatch(); var buysViewModel = new BuysViewModel() { Buys = buys, FirstTicket = firtTicket, FirstPersonName = firstCustomer, NumberOfBuyedTickets = numberOfBuys, MostBuyedTicketMatch = mostPopularTicket }; return(View(buysViewModel)); }