C# Class Cats.Services.EarlyWarning.TemplateTypeService

Inheritance: ITemplateTypeTypeService
Show file Open project: edgecomputing/cats

Public Methods

Method Description
AddTemplateType ( TemplateType templateType ) : bool
DeleteById ( int id ) : bool
DeleteTemplateType ( TemplateType templateType ) : bool
EditTemplateType ( TemplateType templateType ) : bool
FindBy ( bool>.Expression predicate ) : List
FindById ( int id ) : TemplateType
GetAllTemplateType ( ) : List
TemplateTypeService ( ) : System
TemplateTypeService ( UnitOfWork unitOfWork ) : System

Method Details

AddTemplateType() public method

public AddTemplateType ( TemplateType templateType ) : bool
templateType Cats.Models.TemplateType
return bool

DeleteById() public method

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

DeleteTemplateType() public method

public DeleteTemplateType ( TemplateType templateType ) : bool
templateType Cats.Models.TemplateType
return bool

EditTemplateType() public method

public EditTemplateType ( TemplateType templateType ) : bool
templateType Cats.Models.TemplateType
return bool

FindBy() public method

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

FindById() public method

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

GetAllTemplateType() public method

public GetAllTemplateType ( ) : List
return List

TemplateTypeService() public method

public TemplateTypeService ( ) : System
return System

TemplateTypeService() public method

public TemplateTypeService ( UnitOfWork unitOfWork ) : System
unitOfWork Cats.Data.UnitWork.UnitOfWork
return System