public async Task <IActionResult> GetTicketInfo(int TicketId) { TicketViewModel ticketViewModel = new TicketViewModel(); ticketViewModel.Ticket = await betRepository.GetTicketByIdAsync(TicketId); ticketViewModel.Predictions = await betRepository.GetBetPredictionsByTicketIdAsync(TicketId); return(View("Ticket", ticketViewModel)); }