Пример #1
0
        public ActionResult HighScore()
        {
            if (CheckLoggedIn())
            {
                return(RedirectToAction("Index", "Login"));
            }

            HighscoreViewModel model = new HighscoreViewModel()
            {
                gameHighscores = _highscoreHandler.GetAllGameHighscores()
            };

            return(View(model));
        }