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