Beispiel #1
0
 public DeleteApprenticeshipCommandHandler(
     IEmployerCommitmentApi commitmentsApi,
     IValidator <DeleteApprenticeshipCommand> validator, IProviderEmailNotificationService providerEmailNotificationService)
 {
     _validator = validator;
     _providerEmailNotificationService = providerEmailNotificationService;
     _commitmentsApi = commitmentsApi;
 }
Beispiel #2
0
 public UpdateApprenticeshipStatusCommandHandler(IEmployerCommitmentApi commitmentsApi,
                                                 ICurrentDateTime currentDateTime,
                                                 IValidator <UpdateApprenticeshipStatusCommand> validator,
                                                 IProviderEmailNotificationService providerEmailNotificationService)
 {
     _commitmentsApi  = commitmentsApi;
     _currentDateTime = currentDateTime;
     _validator       = validator;
     _providerEmailNotificationService = providerEmailNotificationService;
 }
Beispiel #3
0
 public TransferApprovalCommandHandler(
     IEmployerCommitmentApi commitmentsApi,
     EmployerCommitmentsServiceConfiguration configuration,
     ILog logger,
     IProviderEmailNotificationService providerEmailNotificationService,
     IEmployerEmailNotificationService employerEmailNotificationService)
 {
     _commitmentsService = commitmentsApi;
     _configuration      = configuration;
     _logger             = logger;
     _providerEmailNotificationService = providerEmailNotificationService;
     _employerEmailNotificationService = employerEmailNotificationService;
 }