예제 #1
0
 public IActionResult GetByCustomerId(long customer)
 {
     try
     {
         return(Ok(_shipService.GetByCustomerId(customer)));
     }
     catch (ShipmentNotFoundException e)
     {
         return(BadRequest(e.Message));
     }
 }