コード例 #1
0
        public HttpResponseMessage PostCustomer(CustomerDto customer)
        {
            ControllerFactory.GetCustomerController().Create(customer);
            var response = Request.CreateResponse<CustomerDto>(HttpStatusCode.Created, customer);

            return response;
        }
コード例 #2
0
 public void PutCustomer(CustomerDto customer)
 {
     ControllerFactory.GetCustomerController().Update(customer);
 }