public async Task <IActionResult> OnPostAsync(int id) { await gameSessionRepository.DeleteGameSessionAsync(id); return(RedirectToPage("/GameSessions/Index")); }
public async Task <IActionResult> OnPostAsync(int id) { await gameSessionRepository.DeleteGameSessionAsync(id); return(RedirectToPage("/GameSessions/Index")); }