On save, redirect back to the main edit view
This commit is contained in:
parent
89633c1096
commit
fcba8585c9
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue