C# Class Cats.Services.Procurement.TransporterService

Inheritance: ITransporterService
Mostrar archivo Open project: edgecomputing/cats

Public Methods

Method Description
AddTransporter ( Transporter transporter ) : bool
DeleteById ( int id ) : bool
DeleteTransporter ( Transporter transporter ) : bool
Dispose ( ) : void
EditTransporter ( Transporter transporter ) : bool
FindBy ( bool>.Expression predicate ) : List
FindById ( int id ) : Transporter
GetAllTransporter ( ) : List
GetBidWinner ( int sourceID, int DestinationID, int bidId ) : List
GetCurrentBidWinner ( int sourceID, int DestincationID, int bidId ) : BidWinner
TransporterService ( IUnitOfWork unitOfWork ) : System

Method Details

AddTransporter() public method

public AddTransporter ( Transporter transporter ) : bool
transporter Cats.Models.Transporter
return bool

DeleteById() public method

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

DeleteTransporter() public method

public DeleteTransporter ( Transporter transporter ) : bool
transporter Cats.Models.Transporter
return bool

Dispose() public method

public Dispose ( ) : void
return void

EditTransporter() public method

public EditTransporter ( Transporter transporter ) : bool
transporter Cats.Models.Transporter
return bool

FindBy() public method

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

FindById() public method

public FindById ( int id ) : Transporter
id int
return Cats.Models.Transporter

GetAllTransporter() public method

public GetAllTransporter ( ) : List
return List

GetBidWinner() public method

public GetBidWinner ( int sourceID, int DestinationID, int bidId ) : List
sourceID int
DestinationID int
bidId int
return List

GetCurrentBidWinner() public method

public GetCurrentBidWinner ( int sourceID, int DestincationID, int bidId ) : BidWinner
sourceID int
DestincationID int
bidId int
return Cats.Models.BidWinner

TransporterService() public method

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