public BuildAccountProjectionHandler(IAccountProjectionRepository accountProjectionRepository, IAccountProjectionService accountProjectionService, IApplicationConfiguration config, ITelemetry telemetry, IExpiredFundsService expiredFundsService)
 {
     _accountProjectionRepository = accountProjectionRepository ?? throw new ArgumentNullException(nameof(accountProjectionRepository));
     _config    = config ?? throw new ArgumentNullException(nameof(config));
     _telemetry = telemetry ?? throw new ArgumentNullException(nameof(telemetry));
     _accountProjectionService = accountProjectionService ?? throw new ArgumentNullException(nameof(accountProjectionService));
     _expiredFundsService      = expiredFundsService ?? throw new ArgumentNullException(nameof(expiredFundsService));
 }
 public EstimationOrchestrator(IAccountEstimationProjectionRepository estimationProjectionRepository,
                               IAccountEstimationRepository estimationRepository,
                               IHashingService hashingService,
                               ICurrentBalanceRepository currentBalanceRepository,
                               IApprenticeshipCourseDataService apprenticeshipCourseService,
                               IExpiredFundsService expiredFundsService,
                               IApplicationConfiguration config)
 {
     _estimationProjectionRepository = estimationProjectionRepository ??
                                       throw new ArgumentNullException(nameof(estimationProjectionRepository));
     _estimationRepository =
         estimationRepository ?? throw new ArgumentNullException(nameof(estimationRepository));
     _hashingService           = hashingService ?? throw new ArgumentNullException(nameof(hashingService));
     _currentBalanceRepository = currentBalanceRepository ??
                                 throw new ArgumentNullException(nameof(currentBalanceRepository));
     _apprenticeshipCourseService = apprenticeshipCourseService;
     _expiredFundsService         = expiredFundsService;
     _config = config;
 }