public ActionResult Statistics() { ContestEntity contest = ViewData["Contest"] as ContestEntity; IDictionary <Int32, ContestProblemStatistic> statistics = SolutionManager.GetContestStatistic(contest.ContestID); List <ContestProblemEntity> problems = ContestProblemManager.GetContestProblemList(contest.ContestID); Dictionary <String, Byte> langs = LanguageManager.GetSupportLanguages(contest.SupportLanguage); ViewBag.Problems = problems; ViewBag.Languages = langs; return(View(statistics)); }