Esempio n. 1
0
 public ProductController(IProductRepository productRepository, IPublicProfilesRepository ppRepository,
                          IPurchaseHistoryRepository pRepository, ICommentsRepository commentsRepository,
                          IAffiliateRepository affiliateRepository, IStickerRepository sticker)
 {
     _pRepository = productRepository;
     _purchaseHistoryRepository = pRepository;
     _commentsRepository        = commentsRepository;
     _ppRepository = ppRepository;
     _aRepository  = affiliateRepository;
     _sRepository  = sticker;
 }
Esempio n. 2
0
 public PublicProfileController(IPublicProfilesRepository repository, IPurchaseHistoryRepository historyRepository)
 {
     _ppRepository = repository;
     _hRepository  = historyRepository;
 }