public IActionResult GetShipment([FromRoute] int id)
 {
     try
     {
         if (!_repo.ShipmentExists(id))
         {
             return(NotFound());
         }
         var shipment = Mapper.Map <ShipmentDto>(_repo.GetShipment(id));
         return(Ok(shipment));
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }