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 AffiliateCategoryDomainService(IAffiliateCategoryMatchesRepository matchesRepository, ICategoryRepository categoryRepository) { _matchesRepository = matchesRepository.ThrowIfNull(nameof(matchesRepository)); _categoryRepository = categoryRepository.ThrowIfNull(nameof(categoryRepository)); }