示例#1
0
        public ActionResult TournamentResult()
        {
            var collection = new UnityContext().GameResults.Where(r => r.Type == "tournament");

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

            return(View(new GroupResults(collection.ToList())));
        }