From fcba8585c96e6497603486293c700606d59b2993 Mon Sep 17 00:00:00 2001 From: Pat Hartl Date: Mon, 16 Jan 2023 00:31:05 -0600 Subject: [PATCH] On save, redirect back to the main edit view --- LANCommander/Controllers/GamesController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LANCommander/Controllers/GamesController.cs b/LANCommander/Controllers/GamesController.cs index d3d3bdb..c00a27a 100644 --- a/LANCommander/Controllers/GamesController.cs +++ b/LANCommander/Controllers/GamesController.cs @@ -470,7 +470,7 @@ namespace LANCommander.Controllers await GameService.Update(game); - return RedirectToAction(nameof(Index)); + return RedirectToAction(nameof(Edit), new { id = id }); } return View(viewModel);