public HttpResponseMessage PostUser(UserDto user) { ControllerFactory.GetUserController().Create(user); var response = Request.CreateResponse<UserDto>(HttpStatusCode.Created, user); return response; }
public void PutUser(UserDto user) { ControllerFactory.GetUserController().Update(user); }