Beispiel #1
0
 public AffiliateCouponDomainService(ICouponRepository repository,
                                     IAffiliateCouponMatchesRepository matchesRepository,
                                     IAffiliateStoreMatchesRepository storeRepository,
                                     IAffiliateCategoryMatchesRepository categoryRepository)
 {
     _couponRepository   = repository.ThrowIfNull(nameof(repository));
     _matchesRepository  = matchesRepository.ThrowIfNull(nameof(matchesRepository));
     _storeRepository    = storeRepository.ThrowIfNull(nameof(storeRepository));
     _categoryRepository = categoryRepository.ThrowIfNull(nameof(categoryRepository));
 }
Beispiel #2
0
 public AffiliateStoreDomainService(IAffiliateStoreMatchesRepository matchesRepository, IStoreRepository storeRepository)
 {
     _matchesRepository = matchesRepository.ThrowIfNull(nameof(matchesRepository));
     _storeRepository   = storeRepository.ThrowIfNull(nameof(storeRepository));
 }