On save, redirect back to the main edit view

This commit is contained in:
Pat Hartl 2023-01-16 00:31:05 -06:00
parent 89633c1096
commit fcba8585c9

View file

@ -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);