public async Task <IActionResult> GetOddsInLeaguesStats(int TipTypeId) { AdminStatsViewModel viewModel = new AdminStatsViewModel(); viewModel.Odds = await leagueRepository.GetAllOddsByTipType(TipTypeId); viewModel.LeagueStatsByOdds = await leagueRepository.GetLeagueStatsByOdds(TipTypeId); ViewData["TipTypeId"] = TipTypeId; return(View("LeagueStatsAdvanced", viewModel)); }