C# Class Cats.Services.Administration.HubService

Inheritance: IHubService
Show file Open project: edgecomputing/cats

Public Methods

Method 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 method

public AddHub ( Models hub ) : bool
hub Models
return bool

DeleteById() public method

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

DeleteHub() public method

public DeleteHub ( Models hub ) : bool
hub Models
return bool

Dispose() public method

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

EditHub() public method

public EditHub ( Models hub ) : bool
hub Models
return bool

FindBy() public method

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

FindById() public method

public FindById ( int id ) : Models.Hub
id int
return Models.Hub

GetAllHub() public method

public GetAllHub ( ) : List
return List

GetAllWithoutId() public method

public GetAllWithoutId ( int hubId ) : List
hubId int
return List

GetOthersHavingSameOwner() public method

public GetOthersHavingSameOwner ( Models hub ) : List
hub Models
return List

GetOthersWithDifferentOwner() public method

public GetOthersWithDifferentOwner ( Models hub ) : List
hub Models
return List

HubService() public method

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