public ProviderPeriodEndService( IProviderPaymentsRepository providerPaymentsRepository, IMonthEndCache monthEndCache, IPaymentLogger logger, IPaymentsEventModelBatchService <ProviderPaymentEventModel> batchService) { this.providerPaymentsRepository = providerPaymentsRepository; this.monthEndCache = monthEndCache ?? throw new ArgumentNullException(nameof(monthEndCache)); this.logger = logger ?? throw new ArgumentNullException(nameof(logger)); this.batchService = batchService; }
public ProviderPeriodEndService(IMonthEndCache monthEndCache) { this.monthEndCache = monthEndCache ?? throw new ArgumentNullException(nameof(monthEndCache)); }