Пример #1
0
 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;
 }
Пример #3
0
 public Mapper(IApprenticeshipCourseDataService apprenticeshipCourseDataService)
 {
     _apprenticeshipCourseDataService = apprenticeshipCourseDataService;
 }
Пример #4
0
 public StoreCourseHandler(IApprenticeshipCourseDataService dataService, ILog logger)
 {
     _dataService = dataService ?? throw new ArgumentNullException(nameof(dataService));
     _logger      = logger ?? throw new ArgumentNullException(nameof(logger));
 }