C# Class Nop.Services.Affiliates.AffiliateService

Affiliate service
Inheritance: IAffiliateService
Afficher le fichier Open project: emilianionascu/NopCommerce

Méthodes publiques

Méthode Description
AffiliateService ( IRepository affiliateRepository, IEventPublisher eventPublisher ) : System

Ctor

DeleteAffiliate ( Affiliate affiliate ) : void

Marks affiliate as deleted

GetAffiliateById ( int affiliateId ) : Affiliate

Gets an affiliate by affiliate identifier

GetAllAffiliates ( int pageIndex, int pageSize, bool showHidden = false ) : IPagedList

Gets all affiliates

InsertAffiliate ( Affiliate affiliate ) : void

Inserts an affiliate

UpdateAffiliate ( Affiliate affiliate ) : void

Updates the affiliate

Method Details

AffiliateService() public méthode

Ctor
public AffiliateService ( IRepository affiliateRepository, IEventPublisher eventPublisher ) : System
affiliateRepository IRepository Affiliate repository
eventPublisher IEventPublisher Event published
Résultat System

DeleteAffiliate() public méthode

Marks affiliate as deleted
public DeleteAffiliate ( Affiliate affiliate ) : void
affiliate Nop.Core.Domain.Affiliates.Affiliate Affiliate
Résultat void

GetAffiliateById() public méthode

Gets an affiliate by affiliate identifier
public GetAffiliateById ( int affiliateId ) : Affiliate
affiliateId int Affiliate identifier
Résultat Nop.Core.Domain.Affiliates.Affiliate

GetAllAffiliates() public méthode

Gets all affiliates
public GetAllAffiliates ( int pageIndex, int pageSize, bool showHidden = false ) : IPagedList
pageIndex int Page index
pageSize int Page size
showHidden bool A value indicating whether to show hidden records
Résultat IPagedList

InsertAffiliate() public méthode

Inserts an affiliate
public InsertAffiliate ( Affiliate affiliate ) : void
affiliate Nop.Core.Domain.Affiliates.Affiliate Affiliate
Résultat void

UpdateAffiliate() public méthode

Updates the affiliate
public UpdateAffiliate ( Affiliate affiliate ) : void
affiliate Nop.Core.Domain.Affiliates.Affiliate Affiliate
Résultat void