public AddApprenticeshipOrchestrator( IHashingService hashingService, IAccountEstimationRepository accountEstimationRepository, IApprenticeshipCourseDataService apprenticeshipCourseService, ILog logger) { _hashingService = hashingService; _accountEstimationRepository = accountEstimationRepository; _apprenticeshipCourseService = apprenticeshipCourseService; _logger = logger; }
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; }