C# Class Cats.Services.Logistics.TransferService

Inheritance: ITransferService
Afficher le fichier Open project: edgecomputing/cats

Méthodes publiques

Méthode Description
AddTransfer ( Transfer transfer ) : bool
Approve ( Transfer transfer ) : bool
CreateRequisitonForTransfer ( Transfer transfer ) : bool
DeleteById ( int id ) : bool
DeleteTransfer ( Transfer transfer ) : bool
Dispose ( ) : void
EditTransfer ( Transfer transfer ) : bool
FindBy ( bool>.Expression predicate ) : List
FindById ( int id ) : Transfer
GetAllTransfer ( ) : List
TransferService ( IUnitOfWork unitOfWork ) : System

Private Methods

Méthode Description
GetFreeSICodesByCommodity ( int hubId, int commodityId ) : List
GetFreeSICodesByCommodityChild ( int hubId, int commodityId ) : List
PostSIAllocation ( int requisitionID, int commoditySource = 5 ) : bool

Method Details

AddTransfer() public méthode

public AddTransfer ( Transfer transfer ) : bool
transfer Cats.Models.Transfer
Résultat bool

Approve() public méthode

public Approve ( Transfer transfer ) : bool
transfer Cats.Models.Transfer
Résultat bool

CreateRequisitonForTransfer() public méthode

public CreateRequisitonForTransfer ( Transfer transfer ) : bool
transfer Cats.Models.Transfer
Résultat bool

DeleteById() public méthode

public DeleteById ( int id ) : bool
id int
Résultat bool

DeleteTransfer() public méthode

public DeleteTransfer ( Transfer transfer ) : bool
transfer Cats.Models.Transfer
Résultat bool

Dispose() public méthode

public Dispose ( ) : void
Résultat void

EditTransfer() public méthode

public EditTransfer ( Transfer transfer ) : bool
transfer Cats.Models.Transfer
Résultat bool

FindBy() public méthode

public FindBy ( bool>.Expression predicate ) : List
predicate bool>.Expression
Résultat List

FindById() public méthode

public FindById ( int id ) : Transfer
id int
Résultat Cats.Models.Transfer

GetAllTransfer() public méthode

public GetAllTransfer ( ) : List
Résultat List

TransferService() public méthode

public TransferService ( IUnitOfWork unitOfWork ) : System
unitOfWork IUnitOfWork
Résultat System