public HttpResponseMessage Create(UserRequest request) { _unitOfWork.UserRepository.Insert(request.MapNewUserToModel()); _unitOfWork.Save(); return(new HttpResponseMessage(HttpStatusCode.OK)); }
public HttpResponseMessage Create(UserRequest request) { _unitOfWork.UserRepository.Insert(request.MapNewUserToModel()); _unitOfWork.Save(); return(new HttpResponseMessage(HttpStatusCode.OK)); }