From c02efcd4be08ff7579f8c76f8a1158b706ca7eba Mon Sep 17 00:00:00 2001 From: Abu Zafor Khairuzzaman Date: Mon, 25 Oct 2021 03:51:38 +0600 Subject: [PATCH] Fix profile update routing issue (#564) --- src/Web/Controllers/ManageController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]