示例#1
0
 public CommonResult<UserProfileData> UpdateUserProfile(UpdateUserProfileRequest requestData)
 {
     return _userRepository.UpdateUserProfile(StaticManager.UserName, Mapper.Map<UserProfileData>(requestData));
 }
示例#2
0
        public IActionResult UpdateProfile(UpdateUserProfileRequest requestData)
        {
            var result = _userService.UpdateUserProfile(requestData);

            return View("Profile", Mapper.Map<UserProfileViewModel>(result.Item));
        }