C# Class DRMFSS.BLL.Services.TransporterService

Inheritance: ITransporterService
Afficher le fichier Open project: edgecomputing/cats-hub-module

Méthodes publiques

Méthode Description
AddTransporter ( Transporter entity ) : bool
DeleteById ( int id ) : bool
DeleteTransporter ( Transporter entity ) : bool
Dispose ( ) : void
EditTransporter ( Transporter entity ) : bool
FindBy ( bool>.Expression predicate ) : List
FindById ( int id ) : Transporter
GetAllTransporter ( ) : List
IsNameValid ( int TransporterID, string Name ) : bool
TransporterService ( IUnitOfWork unitOfWork ) : System

Method Details

AddTransporter() public méthode

public AddTransporter ( Transporter entity ) : bool
entity Transporter
Résultat bool

DeleteById() public méthode

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

DeleteTransporter() public méthode

public DeleteTransporter ( Transporter entity ) : bool
entity Transporter
Résultat bool

Dispose() public méthode

public Dispose ( ) : void
Résultat void

EditTransporter() public méthode

public EditTransporter ( Transporter entity ) : bool
entity Transporter
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 ) : Transporter
id int
Résultat Transporter

GetAllTransporter() public méthode

public GetAllTransporter ( ) : List
Résultat List

IsNameValid() public méthode

public IsNameValid ( int TransporterID, string Name ) : bool
TransporterID int
Name string
Résultat bool

TransporterService() public méthode

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