public ForecastingOrchestrator( IHashingService hashingService, IAccountProjectionDataSession accountProjection, ICurrentBalanceRepository balanceRepository, IApplicationConfiguration applicationConfiguration, IForecastingMapper mapper, ICommitmentsDataService commitmentsDataService ) { _hashingService = hashingService ?? throw new ArgumentNullException(nameof(hashingService)); _accountProjection = accountProjection ?? throw new ArgumentNullException(nameof(accountProjection)); _balanceRepository = balanceRepository; _applicationConfiguration = applicationConfiguration ?? throw new ArgumentNullException(nameof(applicationConfiguration)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); _commitmentsDataService = commitmentsDataService ?? throw new ArgumentNullException(nameof(commitmentsDataService)); }
public EmployerCommitmentRepository(ICommitmentsDataService dataService) { _dataService = dataService ?? throw new ArgumentNullException(nameof(dataService)); }
public CommitmentRepository(ICommitmentsDataService commitmentDataService) { CommitmentDataService = commitmentDataService ?? throw new ArgumentNullException(nameof(commitmentDataService)); }