示例#1
0
        public IActionResult UpdateName(User user)
        {
            User            currentUser = authProvider.GetCurrentUser();
            UpdateProfileVM updateUser  = profileDAL.UpdateName(user.Name, currentUser.Id);

            return(View("UpdateProfile", updateUser));
        }