Beispiel #1
0
        // POST: api/Order
        public IHttpActionResult Post([FromBody] OrderDTO order)
        {
            order order1;

            order1 = orderBL.PlaceAnOrder(order.convertToOrder());
            return(Ok(new OrderDTO(order1)));
        }