public BulkUploadApprenticeshipsCommandHandler(ICommitmentRepository commitmentRepository, IApprenticeshipRepository apprenticeshipRepository, BulkUploadApprenticeshipsValidator validator, IApprenticeshipEvents apprenticeshipEvents, ICommitmentsLogger logger, IMediator mediator, IHistoryRepository historyRepository)
 {
     _commitmentRepository     = commitmentRepository;
     _apprenticeshipRepository = apprenticeshipRepository;
     _validator            = validator;
     _apprenticeshipEvents = apprenticeshipEvents;
     _logger            = logger;
     _mediator          = mediator;
     _historyRepository = historyRepository;
 }
 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;
 }