public ActionResult GroupResults() { var collection = new UnityContext().GameResults.Where(r => r.Type == "group"); return View(new GroupResults(collection.ToList())); }
public ActionResult TournamentResult() { var collection = new UnityContext().GameResults.Where(r => r.Type == "tournament"); return View(new TournamentResults(collection.ToList(), WebConstants.CountOfPlayoffPlayers)); }