C# Class DRMFSS.BLL.Services.DispatchService

Inheritance: IDispatchService
Exibir arquivo Open project: edgecomputing/cats-hub-module

Public Methods

Method Description
AddDispatch ( Dispatch dispatch ) : bool
ByHubIdAndAllocationIDetached ( int hubId, System.Guid dispatchAllocationId ) : List
ByHubIdAndOtherAllocationIDetached ( int hubId, System.Guid OtherDispatchAllocationId ) : List
DeleteById ( int id ) : bool
DeleteDispatch ( Dispatch dispatch ) : bool
DispatchService ( IUnitOfWork unitOfWork ) : System
Dispose ( ) : void
EditDispatch ( Dispatch dispatch ) : bool
FindBy ( bool>.Expression predicate ) : List
FindById ( System id ) : Dispatch
FindById ( int id ) : Dispatch
GetAllDispatch ( ) : List
GetAvailableCommodities ( string SINumber, int hubID ) : List

Gets the available commodities.

GetDispatchByGIN ( string ginNo ) : Dispatch
GetDispatchTransaction ( System.Guid dispatchId ) : Transaction

Gets the dispatch transaction.

GetFDPBalance ( int FDPID, string RequisitionNo ) : FDPBalance

Gets the FDP balance.

Method Details

AddDispatch() public method

public AddDispatch ( Dispatch dispatch ) : bool
dispatch Dispatch
return bool

ByHubIdAndAllocationIDetached() public method

public ByHubIdAndAllocationIDetached ( int hubId, System.Guid dispatchAllocationId ) : List
hubId int
dispatchAllocationId System.Guid
return List

ByHubIdAndOtherAllocationIDetached() public method

public ByHubIdAndOtherAllocationIDetached ( int hubId, System.Guid OtherDispatchAllocationId ) : List
hubId int
OtherDispatchAllocationId System.Guid
return List

DeleteById() public method

public DeleteById ( int id ) : bool
id int
return bool

DeleteDispatch() public method

public DeleteDispatch ( Dispatch dispatch ) : bool
dispatch Dispatch
return bool

DispatchService() public method

public DispatchService ( IUnitOfWork unitOfWork ) : System
unitOfWork IUnitOfWork
return System

Dispose() public method

public Dispose ( ) : void
return void

EditDispatch() public method

public EditDispatch ( Dispatch dispatch ) : bool
dispatch Dispatch
return bool

FindBy() public method

public FindBy ( bool>.Expression predicate ) : List
predicate bool>.Expression
return List

FindById() public method

public FindById ( System id ) : Dispatch
id System
return Dispatch

FindById() public method

public FindById ( int id ) : Dispatch
id int
return Dispatch

GetAllDispatch() public method

public GetAllDispatch ( ) : List
return List

GetAvailableCommodities() public method

Gets the available commodities.
public GetAvailableCommodities ( string SINumber, int hubID ) : List
SINumber string The SI number.
hubID int
return List

GetDispatchByGIN() public method

public GetDispatchByGIN ( string ginNo ) : Dispatch
ginNo string
return Dispatch

GetDispatchTransaction() public method

Gets the dispatch transaction.
public GetDispatchTransaction ( System.Guid dispatchId ) : Transaction
dispatchId System.Guid The dispatch id.
return Transaction

GetFDPBalance() public method

Gets the FDP balance.
public GetFDPBalance ( int FDPID, string RequisitionNo ) : FDPBalance
FDPID int The FDPID.
RequisitionNo string
return FDPBalance