Esempio n. 1
0
        public IHttpActionResult Put(UpdateOrderModel updateOrderModel)
        {
            if (OrderService.AddCoordinateToOrder(updateOrderModel.OrderId, updateOrderModel.Coordinate))
            {
                return(Ok());
            }

            return(BadRequest());
        }