Пример #1
0
 public IActionResult AddDeliveryDetails([FromBody] DeliveryDetailsVM deliveryDetails)
 {
     try
     {
         _deliveryService.AddDeliveryDetails(deliveryDetails);
         return(Ok());
     }
     catch (Exception ex)
     {
         return(BadRequest(ex));
     }
 }