Interface IShipmentDocumentService
Interface for managging shipment documents
Namespace: Simplic.Logistics
Assembly: Simplic.Logistics.dll
Syntax
public interface IShipmentDocumentService : IShipmentDocumentRepository
Methods
| Improve this Doc View SourceDelete(IList<ShipmentDocument>)
Deletes a list of shipment documents
Declaration
bool Delete(IList<ShipmentDocument> shipmentDocuments)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<ShipmentDocument> | shipmentDocuments | List of shipment documents |
Returns
Type | Description |
---|---|
System.Boolean | True if deleting was successful, else false |
GetForShipment(Guid)
Gets all shipment documents
Declaration
IEnumerable<ShipmentDocument> GetForShipment(Guid shipmentGuid)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | shipmentGuid | Unique shipment guid |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ShipmentDocument> | Enumerable of shipment documents |
Save(IList<ShipmentDocument>)
Saves a list of shipment documents
Declaration
bool Save(IList<ShipmentDocument> shipmentDocuments)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<ShipmentDocument> | shipmentDocuments | List of shipment documents |
Returns
Type | Description |
---|---|
System.Boolean | True if saving was successful, else false |