C# Class Cats.Services.EarlyWarning.ContributionService

Inheritance: IContributionService
Show file Open project: edgecomputing/cats

Public Methods

Method Description
AddContribution ( Contribution contribution ) : bool
ContributionService ( IUnitOfWork unitOfWork ) : System
DeleteById ( int id ) : bool
DeleteContribution ( Contribution contribution ) : bool
Dispose ( ) : void
EditContribution ( Contribution contribution ) : bool
FindBy ( bool>.Expression predicate ) : List
FindById ( int id ) : Contribution
Get ( bool>.Expression filter = null, Func orderBy = null, string includeProperties = "" ) : IEnumerable
GetAllContribution ( ) : List

Method Details

AddContribution() public method

public AddContribution ( Contribution contribution ) : bool
contribution Cats.Models.Contribution
return bool

ContributionService() public method

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

DeleteById() public method

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

DeleteContribution() public method

public DeleteContribution ( Contribution contribution ) : bool
contribution Cats.Models.Contribution
return bool

Dispose() public method

public Dispose ( ) : void
return void

EditContribution() public method

public EditContribution ( Contribution contribution ) : bool
contribution Cats.Models.Contribution
return bool

FindBy() public method

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

FindById() public method

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

Get() public method

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

GetAllContribution() public method

public GetAllContribution ( ) : List
return List