Example #1
0
        public void UpdateUser(EditUserParas paras)
        {
            var entity = new UserEntity
            {
                Id   = paras.Id,
                Name = paras.Name
            };

            _userRepository.UpdateUser(entity);
        }
Example #2
0
 public void EditUser(EditUserParas paras)
 {
     _userService.UpdateUser(paras);
 }