C# Class Cats.Services.Logistics.DeliveryService

Inheritance: IDeliveryService
Show file Open project: edgecomputing/cats

Public Methods

Method Description
AddDelivery ( Delivery delivery ) : bool
DeleteById ( int id ) : bool
DeleteDelivery ( Delivery delivery ) : bool
DeliveryService ( ) : System
Dispose ( ) : void
EditDelivery ( Delivery delivery ) : bool
FindBy ( bool>.Expression predicate ) : List
FindById ( System.Guid id ) : Delivery
Get ( bool>.Expression filter = null, Func orderBy = null, string includeProperties = "" ) : IEnumerable
GetAllDelivery ( ) : List
GetDonorID ( string shippingInstruction ) : int?
GetFDPDelivery ( int transportOrderId, int fdpId ) : decimal

Method Details

AddDelivery() public method

public AddDelivery ( Delivery delivery ) : bool
delivery Cats.Models.Delivery
return bool

DeleteById() public method

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

DeleteDelivery() public method

public DeleteDelivery ( Delivery delivery ) : bool
delivery Cats.Models.Delivery
return bool

DeliveryService() public method

public DeliveryService ( ) : System
return System

Dispose() public method

public Dispose ( ) : void
return void

EditDelivery() public method

public EditDelivery ( Delivery delivery ) : bool
delivery Cats.Models.Delivery
return bool

FindBy() public method

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

FindById() public method

public FindById ( System.Guid id ) : Delivery
id System.Guid
return Cats.Models.Delivery

Get() public method

public Get ( bool>.Expression filter = null, Func orderBy = null, string includeProperties = "" ) : IEnumerable
filter bool>.Expression
orderBy Func
includeProperties string
return IEnumerable

GetAllDelivery() public method

public GetAllDelivery ( ) : List
return List

GetDonorID() public method

public GetDonorID ( string shippingInstruction ) : int?
shippingInstruction string
return int?

GetFDPDelivery() public method

public GetFDPDelivery ( int transportOrderId, int fdpId ) : decimal
transportOrderId int
fdpId int
return decimal