C# Class Cats.Services.EarlyWarning.GiftCertificateService

Inheritance: IGiftCertificateService
Show file Open project: edgecomputing/cats

Public Methods

Method Description
AddGiftCertificate ( GiftCertificate giftCertificate ) : bool
DeleteById ( int id ) : bool
DeleteGiftCertificate ( GiftCertificate giftCertificate ) : bool
Dispose ( ) : void
EditGiftCertificate ( GiftCertificate giftCertificate ) : bool
FindBy ( bool>.Expression predicate ) : List
FindById ( int id ) : GiftCertificate
FindBySINumber ( string siNumber ) : GiftCertificate
Get ( bool>.Expression filter = null, Func orderBy = null, string includeProperties = "" ) : IEnumerable
GetAllGiftCertificate ( ) : List
GiftCertificateService ( UnitOfWork unitOfWork ) : System
IsBillOfLoadingDuplicate ( string billOfLoading ) : bool
IsSINumberNewOrEdit ( string siNumber, int giftCertificateID ) : bool

Method Details

AddGiftCertificate() public method

public AddGiftCertificate ( GiftCertificate giftCertificate ) : bool
giftCertificate Cats.Models.GiftCertificate
return bool

DeleteById() public method

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

DeleteGiftCertificate() public method

public DeleteGiftCertificate ( GiftCertificate giftCertificate ) : bool
giftCertificate Cats.Models.GiftCertificate
return bool

Dispose() public method

public Dispose ( ) : void
return void

EditGiftCertificate() public method

public EditGiftCertificate ( GiftCertificate giftCertificate ) : bool
giftCertificate Cats.Models.GiftCertificate
return bool

FindBy() public method

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

FindById() public method

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

FindBySINumber() public method

public FindBySINumber ( string siNumber ) : GiftCertificate
siNumber string
return Cats.Models.GiftCertificate

Get() public method

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

GetAllGiftCertificate() public method

public GetAllGiftCertificate ( ) : List
return List

GiftCertificateService() public method

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

IsBillOfLoadingDuplicate() public method

public IsBillOfLoadingDuplicate ( string billOfLoading ) : bool
billOfLoading string
return bool

IsSINumberNewOrEdit() public method

public IsSINumberNewOrEdit ( string siNumber, int giftCertificateID ) : bool
siNumber string
giftCertificateID int
return bool