Ejemplo n.º 1
0
 public AccountMediator(
     IAccountProvider accountProvider,
     ICandidateServiceProvider candidateServiceProvider,
     SettingsViewModelServerValidator settingsViewModelServerValidator,
     IApprenticeshipApplicationProvider apprenticeshipApplicationProvider,
     IApprenticeshipVacancyProvider apprenticeshipVacancyProvider,
     ITraineeshipVacancyProvider traineeshipVacancyProvider,
     IConfigurationService configurationService,
     VerifyMobileViewModelServerValidator mobileViewModelServerValidator,
     EmailViewModelServerValidator emailViewModelServerValidator,
     VerifyUpdatedEmailViewModelServerValidator verifyUpdatedEmailViewModelServerValidator,
     ICandidateService candidateService,
     DeleteAccountSettingsViewModelServerValidator deleteAccountSettingsViewModelServerValidator
     )
 {
     _accountProvider                               = accountProvider;
     _candidateServiceProvider                      = candidateServiceProvider;
     _settingsViewModelServerValidator              = settingsViewModelServerValidator;
     _apprenticeshipApplicationProvider             = apprenticeshipApplicationProvider;
     _apprenticeshipVacancyProvider                 = apprenticeshipVacancyProvider;
     _configurationService                          = configurationService;
     _traineeshipVacancyProvider                    = traineeshipVacancyProvider;
     _verifyMobileViewModelServerValidator          = mobileViewModelServerValidator;
     _emailViewModelServerValidator                 = emailViewModelServerValidator;
     _verifyUpdatedEmailViewModelServerValidator    = verifyUpdatedEmailViewModelServerValidator;
     _candidateService                              = candidateService;
     _deleteAccountSettingsViewModelServerValidator = deleteAccountSettingsViewModelServerValidator;
 }
Ejemplo n.º 2
0
 public ApprenticeshipApplicationProvider(
     IApprenticeshipVacancyProvider apprenticeshipVacancyProvider,
     ICandidateService candidateService,
     IMapper apprenticeshipCandidateWebMappers, ILogService logger,
     IReferenceDataService referenceDataService,
     ICandidateApplicationsProvider candidateApplicationsProvider)
 {
     _apprenticeshipVacancyProvider = apprenticeshipVacancyProvider;
     _candidateService = candidateService;
     _apprenticeshipCandidateWebMappers = apprenticeshipCandidateWebMappers;
     _logger = logger;
     _referenceDataService          = referenceDataService;
     _candidateApplicationsProvider = candidateApplicationsProvider;
 }
Ejemplo n.º 3
0
 public ApprenticeshipSearchMediator(
     IConfigurationService configService,
     ISearchProvider searchProvider,
     ICandidateServiceProvider candidateServiceProvider,
     IUserDataProvider userDataProvider,
     IReferenceDataService referenceDataService,
     ApprenticeshipSearchViewModelServerValidator searchRequestValidator,
     ApprenticeshipSearchViewModelLocationValidator searchLocationValidator,
     IApprenticeshipVacancyProvider apprenticeshipVacancyProvider)
     : base(configService, userDataProvider)
 {
     _configService                 = configService;
     _candidateServiceProvider      = candidateServiceProvider;
     _searchProvider                = searchProvider;
     _referenceDataService          = referenceDataService;
     _searchRequestValidator        = searchRequestValidator;
     _searchLocationValidator       = searchLocationValidator;
     _apprenticeshipVacancyProvider = apprenticeshipVacancyProvider;
     _blacklistedCategoryCodes      = configService.Get <CommonWebConfiguration>().BlacklistedCategoryCodes.Split(',');
 }
Ejemplo n.º 4
0
 protected static IApprenticeshipSearchMediator GetMediator(IConfigurationService configurationService, ISearchProvider searchProvider, ICandidateServiceProvider candidateServiceProvider, IUserDataProvider userDataProvider, IReferenceDataService referenceDataService, IApprenticeshipVacancyProvider apprenticeshipVacancyProvider)
 {
     return(new ApprenticeshipSearchMediator(configurationService, searchProvider, candidateServiceProvider, userDataProvider, referenceDataService, new ApprenticeshipSearchViewModelServerValidator(), new ApprenticeshipSearchViewModelLocationValidator(), apprenticeshipVacancyProvider));
 }