C# Class DRMFSS.BLL.Services.RoleService

Inheritance: IRoleService
显示文件 Open project: edgecomputing/cats-hub-module

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 Role
return bool

DeleteById() public method

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

DeleteRole() public method

public DeleteRole ( Role entity ) : bool
entity Role
return bool

Dispose() public method

public Dispose ( ) : void
return void

EditRole() public method

public EditRole ( Role entity ) : bool
entity 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 Role

GetAllRole() public method

public GetAllRole ( ) : List
return List

RoleService() public method

public RoleService ( ) : System
return System