public UpdateApprenticeshipStopDateCommandHandler( ICommitmentRepository commitmentRepository, IApprenticeshipRepository apprenticeshipRepository, UpdateApprenticeshipStopDateCommandValidator validator, ICurrentDateTime currentDate, ICommitmentsLogger logger, IHistoryRepository historyRepository, IAcademicYearValidator academicYearValidator, IApprenticeshipEventsPublisher eventsPublisher, IApprenticeshipEventsList apprenticeshipEventsList, IDataLockRepository dataLockRepository, IV2EventsPublisher v2EventsPublisher) { _commitmentRepository = commitmentRepository; _apprenticeshipRepository = apprenticeshipRepository; _validator = validator; _currentDate = currentDate; _logger = logger; _historyRepository = historyRepository; _academicYearValidator = academicYearValidator; _eventsPublisher = eventsPublisher; _apprenticeshipEventsList = apprenticeshipEventsList; _dataLockRepository = dataLockRepository; _v2EventsPublisher = v2EventsPublisher; }
public RejectTransferRequestCommandHandler(AbstractValidator <RejectTransferRequestCommand> validator, ICommitmentRepository commitmentRepository, IV2EventsPublisher v2EventsPublisher) { _validator = validator; _commitmentRepository = commitmentRepository; _v2EventsPublisher = v2EventsPublisher; }
public ApproveTransferRequestCommandHandler(AbstractValidator <ApproveTransferRequestCommand> validator, ICommitmentRepository commitmentRepository, IV2EventsPublisher v2EventsPublisher = null) { _validator = validator; _commitmentRepository = commitmentRepository; _v2EventsPublisher = v2EventsPublisher; }
public ProviderApproveCohortCommandHandler(AbstractValidator <ProviderApproveCohortCommand> validator, ICommitmentRepository commitmentRepository, IV2EventsPublisher v2EventsPublisher) { _validator = validator; _commitmentRepository = commitmentRepository; _v2EventsPublisher = v2EventsPublisher; }
internal ApprenticeshipEventsService(IApprenticeshipEventsList apprenticeshipEventsList, IApprenticeshipEventsPublisher apprenticeshipEventsPublisher, IApprenticeshipRepository apprenticeshipRepository, ICommitmentsLogger logger, IV2EventsPublisher v2EventsPublisher) { _apprenticeshipEventsList = apprenticeshipEventsList; _apprenticeshipEventsPublisher = apprenticeshipEventsPublisher; _apprenticeshipRepository = apprenticeshipRepository; _logger = logger; _v2EventsPublisher = v2EventsPublisher; }
public DeleteApprenticeshipCommandHandler(ICommitmentRepository commitmentRepository, IApprenticeshipRepository apprenticeshipRepository, AbstractValidator <DeleteApprenticeshipCommand> validator, ICommitmentsLogger logger, IApprenticeshipEvents apprenticeshipEvents, IHistoryRepository historyRepository, IV2EventsPublisher v2EventsPublisher) { _commitmentRepository = commitmentRepository; _apprenticeshipRepository = apprenticeshipRepository; _validator = validator; _logger = logger; _apprenticeshipEvents = apprenticeshipEvents; _historyRepository = historyRepository; _v2EventsPublisher = v2EventsPublisher; }
public BulkUploadApprenticeshipsCommandHandler(ICommitmentRepository commitmentRepository, IApprenticeshipRepository apprenticeshipRepository, BulkUploadApprenticeshipsValidator validator, IApprenticeshipEvents apprenticeshipEvents, ICommitmentsLogger logger, IMediator mediator, IHistoryRepository historyRepository, IReservationsApiClient reservationsApiClient, IEncodingService encodingService, IV2EventsPublisher v2EventsPublisher) { _commitmentRepository = commitmentRepository; _apprenticeshipRepository = apprenticeshipRepository; _validator = validator; _apprenticeshipEvents = apprenticeshipEvents; _logger = logger; _mediator = mediator; _historyRepository = historyRepository; _reservationsApiClient = reservationsApiClient; _encodingService = encodingService; _v2EventsPublisher = v2EventsPublisher; }
public UpdateCommitmentAgreementCommandHandler(ICommitmentRepository commitmentRepository, IApprenticeshipRepository apprenticeshipRepository, IApprenticeshipUpdateRules apprenticeshipUpdateRules, ICommitmentsLogger logger, AbstractValidator <UpdateCommitmentAgreementCommand> validator, IApprenticeshipEventsList apprenticeshipEventsList, IApprenticeshipEventsPublisher apprenticeshipEventsPublisher, IHistoryRepository historyRepository, IMessagePublisher messagePublisher, INotificationsPublisher notificationsPublisher, IV2EventsPublisher v2EventsPublisher) { _commitmentRepository = commitmentRepository; _apprenticeshipRepository = apprenticeshipRepository; _apprenticeshipUpdateRules = apprenticeshipUpdateRules; _apprenticeshipEventsList = apprenticeshipEventsList; _apprenticeshipEventsPublisher = apprenticeshipEventsPublisher; _historyRepository = historyRepository; _messagePublisher = messagePublisher; _notificationsPublisher = notificationsPublisher; _v2EventsPublisher = v2EventsPublisher; _logger = logger; _validator = validator; }
public PauseApprenticeshipCommandHandler( ICommitmentRepository commitmentRepository, IApprenticeshipRepository apprenticeshipRepository, ApprenticeshipStatusChangeCommandValidator validator, ICurrentDateTime currentDate, IApprenticeshipEvents eventsApi, ICommitmentsLogger logger, IHistoryRepository historyRepository, IV2EventsPublisher v2EventsPublisher ) { _commitmentRepository = commitmentRepository; _apprenticeshipRepository = apprenticeshipRepository; _validator = validator; _currentDate = currentDate; _eventsApi = eventsApi; _logger = logger; _historyRepository = historyRepository; _v2EventsPublisher = v2EventsPublisher; }
public ApproveDataLockTriageCommandHandler(AbstractValidator <ApproveDataLockTriageCommand> validator, IDataLockRepository dataLockRepository, IApprenticeshipRepository apprenticeshipRepository, IApprenticeshipEventsPublisher eventsApi, IApprenticeshipEventsList apprenticeshipEventsList, ICommitmentRepository commitmentRepository, ICurrentDateTime currentDateTime, IApprenticeshipInfoService apprenticeshipTrainingService, ICommitmentsLogger logger, IV2EventsPublisher v2EventsPublisher) { _validator = validator; _dataLockRepository = dataLockRepository; _apprenticeshipRepository = apprenticeshipRepository; _eventsApi = eventsApi; _apprenticeshipEventsList = apprenticeshipEventsList; _commitmentRepository = commitmentRepository; _currentDateTime = currentDateTime; _apprenticeshipTrainingService = apprenticeshipTrainingService; _v2EventsPublisher = v2EventsPublisher; _logger = logger; }
public AcceptApprenticeshipChangeCommandHandler( AbstractValidator <AcceptApprenticeshipChangeCommand> validator, IApprenticeshipUpdateRepository apprenticeshipUpdateRepository, IApprenticeshipRepository apprenticeshipRepository, IMediator mediator, IAcceptApprenticeshipChangeMapper mapper, IApprenticeshipEvents eventsApi, ICommitmentRepository commitmentRepository, IHistoryRepository historyRepository, IMessagePublisher messagePublisher, IV2EventsPublisher v2EventsPublisher) { _validator = validator; _apprenticeshipUpdateRepository = apprenticeshipUpdateRepository; _apprenticeshipRepository = apprenticeshipRepository; _mediator = mediator; _mapper = mapper; _eventsApi = eventsApi; _commitmentRepository = commitmentRepository; _historyRepository = historyRepository; _messagePublisher = messagePublisher; _v2EventsPublisher = v2EventsPublisher; }
public CreateApprenticeshipUpdateCommandHandler(AbstractValidator <CreateApprenticeshipUpdateCommand> validator, IApprenticeshipUpdateRepository apprenticeshipUpdateRepository, ICommitmentsLogger logger, IApprenticeshipRepository apprenticeshipRepository, IMediator mediator, IHistoryRepository historyRepository, ICommitmentRepository commitmentRepository, ICurrentDateTime currentDateTime, IMessagePublisher messagePublisher, IApprenticeshipEventsList apprenticeshipEventsList, IApprenticeshipEventsPublisher apprenticeshipEventsPublisher, IReservationValidationService reservationValidationService, IV2EventsPublisher v2EventsPublisher) { _validator = validator; _apprenticeshipUpdateRepository = apprenticeshipUpdateRepository; _logger = logger; _apprenticeshipRepository = apprenticeshipRepository; _mediator = mediator; _historyRepository = historyRepository; _commitmentRepository = commitmentRepository; _currentDateTime = currentDateTime; _messagePublisher = messagePublisher; _apprenticeshipEventsList = apprenticeshipEventsList; _apprenticeshipEventsPublisher = apprenticeshipEventsPublisher; _reservationValidationService = reservationValidationService; _v2EventsPublisher = v2EventsPublisher; }