C# Class Cats.Services.EarlyWarning.ProgramService

Inheritance: IProgramService
Show file Open project: edgecomputing/cats

Public Methods

Method Description
AddProgram ( Program program ) : bool
DeleteById ( int id ) : bool
DeleteProgram ( Program program ) : bool
Dispose ( ) : void
EditProgram ( Program program ) : bool
FindBy ( bool>.Expression predicate ) : List
FindById ( int id ) : Program
GetAllProgram ( ) : List
ProgramService ( IUnitOfWork unitOfWork ) : System

Method Details

AddProgram() public method

public AddProgram ( Program program ) : bool
program Program
return bool

DeleteById() public method

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

DeleteProgram() public method

public DeleteProgram ( Program program ) : bool
program Program
return bool

Dispose() public method

public Dispose ( ) : void
return void

EditProgram() public method

public EditProgram ( Program program ) : bool
program Program
return bool

FindBy() public method

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

FindById() public method

public FindById ( int id ) : Program
id int
return Program

GetAllProgram() public method

public GetAllProgram ( ) : List
return List

ProgramService() public method

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