Beispiel #1
0
 public AdminController(IProductRepository repo, IStickerRepository sticker,
                        IAffiliateRepository affiliateRepository, IAffiliateProductRepository affiliateProductRepository)
 {
     _pRepository  = repo;
     _sRepository  = sticker;
     _aRepository  = affiliateRepository;
     _apRepository = affiliateProductRepository;
 }
 public AffiliateController(IAffiliateRepository affiliateRepository, IProductRepository productRepository,
                            IOrderProcessor orderProcessor, IAffiliateProductRepository affiliateProduct,
                            IPurchaseHistoryRepository purchaseHistoryRepository)
 {
     _aRepository  = affiliateRepository;
     _pRepository  = productRepository;
     _oProcessor   = orderProcessor;
     _apRepository = affiliateProduct;
     _phRepository = purchaseHistoryRepository;
 }
 public AdminAffiliateController(IAffiliateProductRepository affiliateProductRepository)
 {
     _apRepository = affiliateProductRepository;
 }