Exemplo n.º 1
0
        public IActionResult SaveEdit(AccountMyProfileEditVM editedUser)
        {
            string userID = signInManager.UserManager.GetUserId(HttpContext.User);

            webShopDBContext.UpdateUser(editedUser, userID);
            return(RedirectToAction("Index", 1));
        }