Interface ICleaningCodeRepository
Interface for Cleaning Code DB functions
Namespace: Simplic.Logistics.Cleaning
Assembly: Simplic.Logistics.Cleaning.dll
Syntax
public interface ICleaningCodeRepository
Methods
| Improve this Doc View SourceDelete(CleaningCode)
Deletes a cleaningCode
Declaration
void Delete(CleaningCode cleaningCode)
Parameters
Type | Name | Description |
---|---|---|
CleaningCode | cleaningCode | The CleaningCode zo delete |
Get(Guid)
Gets a Cleaning Code by its Id
Declaration
CleaningCode Get(Guid guid)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | guid | The Guid for the CleaningCode |
Returns
Type | Description |
---|---|
CleaningCode | Returns a new instance of CleaningCode |
GetAll()
Gets all ClenaingCodes
Declaration
IEnumerable<CleaningCode> GetAll()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<CleaningCode> | Returns a enumerable of all cleaningCodes |
Save(CleaningCode)
Saves a CleaningCode
Declaration
void Save(CleaningCode cleaningCode)
Parameters
Type | Name | Description |
---|---|---|
CleaningCode | cleaningCode | The cleaningCode to save |