public IHttpActionResult Put(UpdateOrderModel updateOrderModel) { if (OrderService.AddCoordinateToOrder(updateOrderModel.OrderId, updateOrderModel.Coordinate)) { return(Ok()); } return(BadRequest()); }