C# Class Cats.Services.Administration.HubOwnerService

Inheritance: IHubOwnerService
Show file Open project: edgecomputing/cats

Public Methods

Method Description
AddHubOwner ( HubOwner hubOwner ) : bool
DeleteById ( int id ) : bool
DeleteHubOwner ( HubOwner hubOwner ) : bool
Dispose ( ) : void

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

EditHubOwner ( HubOwner hubOwner ) : bool
FindBy ( bool>.Expression predicate ) : List
FindById ( int id ) : HubOwner
GetAllHubOwner ( ) : List
HubOwnerService ( IUnitOfWork unitOfWork ) : System

Method Details

AddHubOwner() public method

public AddHubOwner ( HubOwner hubOwner ) : bool
hubOwner Cats.Models.HubOwner
return bool

DeleteById() public method

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

DeleteHubOwner() public method

public DeleteHubOwner ( HubOwner hubOwner ) : bool
hubOwner Cats.Models.HubOwner
return bool

Dispose() public method

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

EditHubOwner() public method

public EditHubOwner ( HubOwner hubOwner ) : bool
hubOwner Cats.Models.HubOwner
return bool

FindBy() public method

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

FindById() public method

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

GetAllHubOwner() public method

public GetAllHubOwner ( ) : List
return List

HubOwnerService() public method

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