public async Task <IActionResult> ShowPredictionsByTip(int TipTypeId, int TipId) { TipViewModel tVM = new TipViewModel { Tip = await tipRepository.GetTipByTipId(TipId), Predictions = await repository.GetPredictionsByTipId(TipId), TipStats = await repository.GetTipStatsByTipId(TipId), LeagueStats = await repository.GetLeagueStatsByTip(TipId), ControllerName = "Statistics", TipTypeId = TipTypeId }; ViewData["TipTypeId"] = TipTypeId; return(View("Tip", tVM)); }