private bool ShipmentExists(int id) { return(_shipmentRepository.Count(e => e.ShipmentId == id) > 0); }