public IActionResult UpdateState(User user) { User currentUser = authProvider.GetCurrentUser(); UpdateProfileVM updateUser = profileDAL.UpdateState(user.State, currentUser.Id); return(View("UpdateProfile", updateUser)); }