C# Class DRMFSS.BLL.Services.GiftCertificateService

Inheritance: IGiftCertificateService
Show file Open project: edgecomputing/cats-hub-module Class Usage Examples

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

Finds the by SI number.

Get ( bool>.Expression filter = null, Func orderBy = null, string includeProperties = "" ) : IEnumerable
GetAllGiftCertificate ( ) : List
GetMonthlySummary ( ) : ObjectResult

Gets the monthly summary.

GetMonthlySummaryETA ( ) : ObjectResult

Gets the monthly summary ETA.

GetSIBalances ( ) : List

Gets the SI balances.

GiftCertificateService ( IUnitOfWork unitOfWork ) : System
Update ( GiftCertificate giftCertificateModel, List inserted, List updated, List deleted ) : void

Updates the specified gift certificate model.

Method Details

AddGiftCertificate() public method

public AddGiftCertificate ( GiftCertificate giftCertificate ) : bool
giftCertificate GiftCertificate
return bool

DeleteById() public method

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

DeleteGiftCertificate() public method

public DeleteGiftCertificate ( GiftCertificate giftCertificate ) : bool
giftCertificate GiftCertificate
return bool

Dispose() public method

public Dispose ( ) : void
return void

EditGiftCertificate() public method

public EditGiftCertificate ( GiftCertificate giftCertificate ) : bool
giftCertificate 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 GiftCertificate

FindBySINumber() public method

Finds the by SI number.
public FindBySINumber ( string SINumber ) : GiftCertificate
SINumber string The SI number.
return 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

GetMonthlySummary() public method

Gets the monthly summary.
public GetMonthlySummary ( ) : ObjectResult
return ObjectResult

GetMonthlySummaryETA() public method

Gets the monthly summary ETA.
public GetMonthlySummaryETA ( ) : ObjectResult
return ObjectResult

GetSIBalances() public method

Gets the SI balances.
public GetSIBalances ( ) : List
return List

GiftCertificateService() public method

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

Update() public method

Updates the specified gift certificate model.
public Update ( GiftCertificate giftCertificateModel, List inserted, List updated, List deleted ) : void
giftCertificateModel GiftCertificate The gift certificate model.
inserted List The inserted gift certificate detail.
updated List The updated gift certificate detail.
deleted List The deleted gift certificate detail.
return void