Exemplo n.º 1
0
        public HttpResponseMessage UpdateOrderStatus([FromBody] OrderStatusUpdateModel model)
        {
            OrderBuss buss = new OrderBuss();

            buss.UpdateOrderStatus(model.OrderId, (OrderStatusEnum)model.Status);

            return(ToJson(new { Result = true }));
        }