public CommonResult<UserProfileData> UpdateUserProfile(UpdateUserProfileRequest requestData) { return _userRepository.UpdateUserProfile(StaticManager.UserName, Mapper.Map<UserProfileData>(requestData)); }
public IActionResult UpdateProfile(UpdateUserProfileRequest requestData) { var result = _userService.UpdateUserProfile(requestData); return View("Profile", Mapper.Map<UserProfileViewModel>(result.Item)); }