C# Class Cats.Services.EarlyWarning.GiftCertificateService

Inheritance: IGiftCertificateService
Afficher le fichier Open project: edgecomputing/cats

Méthodes publiques

Méthode 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 méthode

public AddGiftCertificate ( GiftCertificate giftCertificate ) : bool
giftCertificate Cats.Models.GiftCertificate
Résultat bool

DeleteById() public méthode

public DeleteById ( int id ) : bool
id int
Résultat bool

DeleteGiftCertificate() public méthode

public DeleteGiftCertificate ( GiftCertificate giftCertificate ) : bool
giftCertificate Cats.Models.GiftCertificate
Résultat bool

Dispose() public méthode

public Dispose ( ) : void
Résultat void

EditGiftCertificate() public méthode

public EditGiftCertificate ( GiftCertificate giftCertificate ) : bool
giftCertificate Cats.Models.GiftCertificate
Résultat bool

FindBy() public méthode

public FindBy ( bool>.Expression predicate ) : List
predicate bool>.Expression
Résultat List

FindById() public méthode

public FindById ( int id ) : GiftCertificate
id int
Résultat Cats.Models.GiftCertificate

FindBySINumber() public méthode

public FindBySINumber ( string siNumber ) : GiftCertificate
siNumber string
Résultat Cats.Models.GiftCertificate

Get() public méthode

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

GetAllGiftCertificate() public méthode

public GetAllGiftCertificate ( ) : List
Résultat List

GiftCertificateService() public méthode

public GiftCertificateService ( UnitOfWork unitOfWork ) : System
unitOfWork Cats.Data.UnitWork.UnitOfWork
Résultat System

IsBillOfLoadingDuplicate() public méthode

public IsBillOfLoadingDuplicate ( string billOfLoading ) : bool
billOfLoading string
Résultat bool

IsSINumberNewOrEdit() public méthode

public IsSINumberNewOrEdit ( string siNumber, int giftCertificateID ) : bool
siNumber string
giftCertificateID int
Résultat bool