C# Class Cats.Services.EarlyWarning.StateTemplateService

Inheritance: IStateTemplateService
Show file Open project: edgecomputing/cats

Public Methods

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

Method Details

Add() public method

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

Delete() public method

public Delete ( StateTemplate item ) : bool
item Cats.Models.StateTemplate
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 ) : StateTemplate
id int
return StateTemplate

GetAll() public method

public GetAll ( ) : List
return List

StateTemplateService() public method

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

Update() public method

public Update ( StateTemplate item ) : bool
item StateTemplate
return bool