C# Class Cats.Services.EarlyWarning.HubService

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

Méthodes publiques

Méthode Description
AddHub ( Hub hub ) : bool
DeleteById ( int id ) : bool
DeleteHub ( Hub hub ) : bool
Dispose ( ) : void
EditHub ( Hub hub ) : bool
FindBy ( bool>.Expression predicate ) : List
FindById ( int id ) : Hub
GetAllHub ( ) : List
GetHubId ( string hub ) : int
GetNearestWarehouse ( int woredaID ) : Hub
HubService ( IUnitOfWork unitOfWork ) : System

Method Details

AddHub() public méthode

public AddHub ( Hub hub ) : bool
hub Cats.Models.Hub
Résultat bool

DeleteById() public méthode

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

DeleteHub() public méthode

public DeleteHub ( Hub hub ) : bool
hub Cats.Models.Hub
Résultat bool

Dispose() public méthode

public Dispose ( ) : void
Résultat void

EditHub() public méthode

public EditHub ( Hub hub ) : bool
hub Cats.Models.Hub
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 ) : Hub
id int
Résultat Cats.Models.Hub

GetAllHub() public méthode

public GetAllHub ( ) : List
Résultat List

GetHubId() public méthode

public GetHubId ( string hub ) : int
hub string
Résultat int

GetNearestWarehouse() public méthode

public GetNearestWarehouse ( int woredaID ) : Hub
woredaID int
Résultat Cats.Models.Hub

HubService() public méthode

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