C# Class Cats.Services.EarlyWarning.ProcessTemplateService

Inheritance: IProcessTemplateService
Exibir arquivo Open project: edgecomputing/cats

Public Methods

Method Description
Add ( ProcessTemplate item ) : bool
Delete ( ProcessTemplate item ) : bool
DeleteById ( int id ) : bool
FindBy ( bool>.Expression predicate ) : List
FindById ( int id ) : ProcessTemplate
GetAll ( ) : List
GetStartingState ( int id ) : StateTemplate
ProcessTemplateService ( IUnitOfWork unitOfWork ) : System
Update ( ProcessTemplate item ) : bool

Method Details

Add() public method

public Add ( ProcessTemplate item ) : bool
item Cats.Models.ProcessTemplate
return bool

Delete() public method

public Delete ( ProcessTemplate item ) : bool
item Cats.Models.ProcessTemplate
return bool

DeleteById() public method

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

FindBy() public method

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

FindById() public method

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

GetAll() public method

public GetAll ( ) : List
return List

GetStartingState() public method

public GetStartingState ( int id ) : StateTemplate
id int
return Cats.Models.StateTemplate

ProcessTemplateService() public method

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

Update() public method

public Update ( ProcessTemplate item ) : bool
item Cats.Models.ProcessTemplate
return bool