diff --git a/src/Web/Controllers/ManageController.cs b/src/Web/Controllers/ManageController.cs index d4d12e0..97036b8 100644 --- a/src/Web/Controllers/ManageController.cs +++ b/src/Web/Controllers/ManageController.cs @@ -67,7 +67,7 @@ namespace Microsoft.eShopWeb.Web.Controllers [HttpPost] [ValidateAntiForgeryToken] - public async Task Index(IndexViewModel model) + public async Task MyAccount(IndexViewModel model) { if (!ModelState.IsValid) { @@ -101,7 +101,7 @@ namespace Microsoft.eShopWeb.Web.Controllers } StatusMessage = "Your profile has been updated"; - return RedirectToAction(nameof(Index)); + return RedirectToAction(nameof(MyAccount)); } [HttpPost]