예제 #1
0
 public void Put([FromBody] UpdateUserUICommand command)
 {
     Execute(() =>
     {
         _userLogic.Update(command);
     });
 }
예제 #2
0
        public void Update(UpdateUserUICommand command)
        {
            var user = _userRepository.Get(command.Id);

            user.Name = command.Name;


            using (var unitOfWork = _unitOfWorkFactory.GetCurrentUnitOfWork())
            {
                _userRepository.Edit(user);
                unitOfWork.Commit();
            }
        }
예제 #3
0
 public void Put([FromBody] UpdateUserUICommand command)
 {
     {
         _userLogic.Update(command);
     }
 }
예제 #4
0
 public void Put(UpdateUserUICommand command)
 {
     _userLogic.Update(command);
 }