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