C# Class Cats.Services.Hub.RoleService

Inheritance: IRoleService
Show file Open project: edgecomputing/cats

Public Methods

Method Description
AddRole ( Role entity ) : bool
DeleteById ( int id ) : bool
DeleteRole ( Role entity ) : bool
Dispose ( ) : void
EditRole ( Role entity ) : bool
FindBy ( bool>.Expression predicate ) : List
FindById ( int id ) : Role
GetAllRole ( ) : List
RoleService ( ) : System

Method Details

AddRole() public method

public AddRole ( Role entity ) : bool
entity Cats.Models.Hubs.Role
return bool

DeleteById() public method

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

DeleteRole() public method

public DeleteRole ( Role entity ) : bool
entity Cats.Models.Hubs.Role
return bool

Dispose() public method

public Dispose ( ) : void
return void

EditRole() public method

public EditRole ( Role entity ) : bool
entity Cats.Models.Hubs.Role
return bool

FindBy() public method

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

FindById() public method

public FindById ( int id ) : Role
id int
return Cats.Models.Hubs.Role

GetAllRole() public method

public GetAllRole ( ) : List
return List

RoleService() public method

public RoleService ( ) : System
return System