Beispiel #1
0
        public HttpResponseMessage PostOrder(OrdersDto order)
        {
            ControllerFactory.GetOrdersController().Create(order);
            var response = Request.CreateResponse<OrdersDto>(HttpStatusCode.Created, order);

            return response;
        }
Beispiel #2
0
 public void PutMovie(OrdersDto order)
 {
     ControllerFactory.GetOrdersController().Update(order);
 }