C# Class Cats.Services.Administration.ActionTypesService

Inheritance: IActionTypesService
显示文件 Open project: edgecomputing/cats

Public Methods

Method Description
ActionTypesService ( IUnitOfWork unitOfWork ) : System
AddActionType ( Models actionType ) : bool
DeleteActionType ( Models actionType ) : bool
DeleteById ( int id ) : bool
EditActionType ( Models actionType ) : bool
FindBy ( bool>.System predicate ) : List
FindById ( int id ) : Models.ActionTypes
GetAllActionType ( ) : List

Method Details

ActionTypesService() public method

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

AddActionType() public method

public AddActionType ( Models actionType ) : bool
actionType Models
return bool

DeleteActionType() public method

public DeleteActionType ( Models actionType ) : bool
actionType Models
return bool

DeleteById() public method

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

EditActionType() public method

public EditActionType ( Models actionType ) : bool
actionType Models
return bool

FindBy() public method

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

FindById() public method

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

GetAllActionType() public method

public GetAllActionType ( ) : List
return List