Interface IShipmentTagRepository
Interface for a repository to load, save and delete shipment tags
Namespace: Simplic.Logistics
Assembly: Simplic.Logistics.dll
Syntax
public interface IShipmentTagRepository
Methods
| Improve this Doc View SourceDeleteFromShipment(IList<ShipmentTag>, Guid)
Deletes the given tags from a shipment
Declaration
bool DeleteFromShipment(IList<ShipmentTag> tags, Guid shipmentId)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<ShipmentTag> | tags | The lsit of tags |
System.Guid | shipmentId | The shipment id |
Returns
Type | Description |
---|---|
System.Boolean |
GetForShipment(Guid)
Gets a list of shipment tags for a shipment
Declaration
IEnumerable<ShipmentTag> GetForShipment(Guid shipmenmtId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | shipmenmtId | The shipment id |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ShipmentTag> |
SaveForShipment(IList<ShipmentTag>, Guid)
Saves a list of tags to a shipment
Declaration
bool SaveForShipment(IList<ShipmentTag> tags, Guid shipmentId)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<ShipmentTag> | tags | The list of shipment tags |
System.Guid | shipmentId | The shipment id |
Returns
Type | Description |
---|---|
System.Boolean |