C# Class Cats.Services.Administration.HubService

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

Méthodes publiques

Méthode Description
AddHub ( Models hub ) : bool
DeleteById ( int id ) : bool
DeleteHub ( Models hub ) : bool
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

EditHub ( Models hub ) : bool
FindBy ( bool>.Expression predicate ) : List
FindById ( int id ) : Models.Hub
GetAllHub ( ) : List
GetAllWithoutId ( int hubId ) : List
GetOthersHavingSameOwner ( Models hub ) : List
GetOthersWithDifferentOwner ( Models hub ) : List
HubService ( IUnitOfWork unitOfWork ) : System

Method Details

AddHub() public méthode

public AddHub ( Models hub ) : bool
hub Models
Résultat bool

DeleteById() public méthode

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

DeleteHub() public méthode

public DeleteHub ( Models hub ) : bool
hub Models
Résultat bool

Dispose() public méthode

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Résultat void

EditHub() public méthode

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

GetAllHub() public méthode

public GetAllHub ( ) : List
Résultat List

GetAllWithoutId() public méthode

public GetAllWithoutId ( int hubId ) : List
hubId int
Résultat List

GetOthersHavingSameOwner() public méthode

public GetOthersHavingSameOwner ( Models hub ) : List
hub Models
Résultat List

GetOthersWithDifferentOwner() public méthode

public GetOthersWithDifferentOwner ( Models hub ) : List
hub Models
Résultat List

HubService() public méthode

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