Esempio n. 1
0
        public IActionResult HideFromStore()
        {
            User user = usersTable.GetUserByEmail(User.Identity.Name !) !;
            Game game = gamesTable.GetGameById(user.CurrentlyEditedGameId) !;

            gamesTable.RemoveFromStore(game);

            return(Content("/home"));
        }