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)); }
public AffiliateStoreDomainService(IAffiliateStoreMatchesRepository matchesRepository, IStoreRepository storeRepository) { _matchesRepository = matchesRepository.ThrowIfNull(nameof(matchesRepository)); _storeRepository = storeRepository.ThrowIfNull(nameof(storeRepository)); }