Abu Zafor Khairuzzaman
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
src/Web/Controllers/ManageController.cs
|
|
|
@ -67,7 +67,7 @@ namespace Microsoft.eShopWeb.Web.Controllers |
|
|
|
|
|
|
|
[HttpPost] |
|
|
|
[ValidateAntiForgeryToken] |
|
|
|
public async Task<IActionResult> Index(IndexViewModel model) |
|
|
|
public async Task<IActionResult> 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] |
|
|
|
|