public ApprenticeshipApplicationMediator(IApprenticeshipApplicationProvider apprenticeshipApplicationProvider, ApprenticeshipApplicationViewModelServerValidator apprenticeshipApplicationViewModelFullValidator, ApprenticeshipApplicationViewModelSaveValidator apprenticeshipApplicationViewModelSaveValidator, IConfigurationManager configManager, IUserDataProvider userDataProvider) : base(configManager, userDataProvider) { _apprenticeshipApplicationProvider = apprenticeshipApplicationProvider; _apprenticeshipApplicationViewModelFullValidator = apprenticeshipApplicationViewModelFullValidator; _apprenticeshipApplicationViewModelSaveValidator = apprenticeshipApplicationViewModelSaveValidator; }
public ApprenticeshipApplicationMediator(IApplicationProvider applicationProvider, ApprenticeshipApplicationViewModelServerValidator apprenticeshipApplicationViewModelServerValidator, IDecryptionService <AnonymisedApplicationLink> decryptionService, IDateTimeService dateTimeService, ILogService logService) { _applicationProvider = applicationProvider; _apprenticeshipApplicationViewModelServerValidator = apprenticeshipApplicationViewModelServerValidator; _decryptionService = decryptionService; _dateTimeService = dateTimeService; _logService = logService; }
public ApprenticeshipApplicationMediator( IConfigurationService configService, IUserDataProvider userDataProvider, IApprenticeshipApplicationProvider apprenticeshipApplicationProvider, ApprenticeshipApplicationViewModelServerValidator apprenticeshipApplicationViewModelFullValidator, ApprenticeshipApplicationViewModelSaveValidator apprenticeshipApplicationViewModelSaveValidator, ApprenticeshipApplicationPreviewViewModelValidator apprenticeshipApplicationPreviewViewModelValidator) : base(configService, userDataProvider) { _apprenticeshipApplicationProvider = apprenticeshipApplicationProvider; _apprenticeshipApplicationViewModelFullValidator = apprenticeshipApplicationViewModelFullValidator; _apprenticeshipApplicationViewModelSaveValidator = apprenticeshipApplicationViewModelSaveValidator; _apprenticeshipApplicationPreviewViewModelValidator = apprenticeshipApplicationPreviewViewModelValidator; }
public void SetUp() { _validator = new ApprenticeshipApplicationViewModelServerValidator(); }