public async Task <IActionResult> OnGetAsync(int?id)
        {
            if (id == null)
            {
                return(NotFound());
            }

            GameSave = await _context.GameSave.FirstOrDefaultAsync(m => m.GameSaveId == id);

            if (GameSave == null)
            {
                return(NotFound());
            }
            return(Page());
        }
        public async Task <IActionResult> OnPostAsync(int?id)
        {
            if (id == null)
            {
                return(NotFound());
            }

            GameSave = await _context.GameSave.FindAsync(id);

            if (GameSave != null)
            {
                _context.GameSave.Remove(GameSave);
                await _context.SaveChangesAsync();
            }

            return(RedirectToPage("./Index"));
        }