Пример #1
0
        public ActionResult StartGame()
        {
            var        vm    = new EverythingVM();
            PlayerRepo pRepo = new PlayerRepo();
            var        used  = HttpContext.User;
            var        user  = UserManager.FindById(used.Identity.GetUserId());
            var        games = pRepo.AllLoggedIn(user.Id);


            return(View(games));
        }