C# Class Cats.Services.EarlyWarning.CurrencyService

Inheritance: ICurrencyService
显示文件 Open project: edgecomputing/cats

Public Methods

Method Description
AddCurrency ( Models currency ) : bool
CurrencyService ( IUnitOfWork unitOfWork ) : System
DeleteById ( int id ) : bool
DeleteCurrency ( Models currency ) : bool
Dispose ( ) : void
EditCurrency ( Models currency ) : bool
FindBy ( bool>.System predicate ) : List
FindById ( int id ) : Models.Currency
Get ( bool>.System filter = null, Func orderBy = null, string includeProperties = "" ) : IEnumerable
GetAllCurrency ( ) : List

Method Details

AddCurrency() public method

public AddCurrency ( Models currency ) : bool
currency Models
return bool

CurrencyService() public method

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

DeleteById() public method

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

DeleteCurrency() public method

public DeleteCurrency ( Models currency ) : bool
currency Models
return bool

Dispose() public method

public Dispose ( ) : void
return void

EditCurrency() public method

public EditCurrency ( Models currency ) : bool
currency 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.Currency
id int
return Models.Currency

Get() public method

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

GetAllCurrency() public method

public GetAllCurrency ( ) : List
return List