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