C# Class Cats.Services.EarlyWarning.SeasonService

Inheritance: ISeasonService
Show file Open project: edgecomputing/cats

Public Methods

Method Description
AddSeason ( Models season ) : bool
DeleteById ( int id ) : bool
DeleteSeason ( Models season ) : bool
Dispose ( ) : void
EditSeason ( Models season ) : bool
FindBy ( bool>.System predicate ) : List
FindById ( int id ) : Models.Season
Get ( bool>.System filter = null, Func orderBy = null, string includeProperties = "" ) : IEnumerable
GetAllSeason ( ) : List
GetListOfSeasonsInRegion ( List regions ) : List
SeasonService ( IUnitOfWork unitOfWork ) : System

Method Details

AddSeason() public method

public AddSeason ( Models season ) : bool
season Models
return bool

DeleteById() public method

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

DeleteSeason() public method

public DeleteSeason ( Models season ) : bool
season Models
return bool

Dispose() public method

public Dispose ( ) : void
return void

EditSeason() public method

public EditSeason ( Models season ) : bool
season 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.Season
id int
return Models.Season

Get() public method

public Get ( bool>.System filter = null, Func orderBy = null, string includeProperties = "" ) : IEnumerable
filter bool>.System
orderBy Func
includeProperties string
return IEnumerable

GetAllSeason() public method

public GetAllSeason ( ) : List
return List

GetListOfSeasonsInRegion() public method

public GetListOfSeasonsInRegion ( List regions ) : List
regions List
return List

SeasonService() public method

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