public CookieConsentController(
     IAuthenticationService owinWrapper,
     IMultiVariantTestingService multiVariantTestingService,
     ICookieStorageService <FlashMessageViewModel> flashMessage
     ) : base(owinWrapper, multiVariantTestingService, flashMessage)
 {
 }
Example #2
0
 public TransferRequestController(EmployerCommitmentsOrchestrator orchestrator, IOwinWrapper owinWrapper,
                                  IMultiVariantTestingService multiVariantTestingService, ICookieStorageService <FlashMessageViewModel> flashMessage,
                                  ICookieStorageService <string> lastCohortCookieStorageService, ILinkGenerator linkGenerator)
     : base(orchestrator, owinWrapper, multiVariantTestingService, flashMessage, lastCohortCookieStorageService)
 {
     _linkGenerator = linkGenerator;
 }
 public HomeController(IAuthenticationService owinWrapper, HomeOrchestrator homeOrchestrator,
                       EmployerAccountsConfiguration configuration, IAuthorizationService authorization,
                       IMultiVariantTestingService multiVariantTestingService, ICookieStorageService <FlashMessageViewModel> flashMessage)
     : base(owinWrapper, multiVariantTestingService, flashMessage)
 {
     _homeOrchestrator = homeOrchestrator;
     _configuration    = configuration;
 }
 public EmployerAccountController(IAuthenticationService owinWrapper, EmployerAccountOrchestrator employerAccountOrchestrator,
                                  IAuthorizationService authorization, IMultiVariantTestingService multiVariantTestingService, ILog logger,
                                  ICookieStorageService <FlashMessageViewModel> flashMessage)
     : base(owinWrapper, multiVariantTestingService, flashMessage)
 {
     _employerAccountOrchestrator = employerAccountOrchestrator;
     _logger = logger;
 }
 protected BaseEmployerController(IEmployerCommitmentsOrchestrator orchestrator, IOwinWrapper owinWrapper,
                                  IMultiVariantTestingService multiVariantTestingService, ICookieStorageService <FlashMessageViewModel> flashMessage,
                                  ICookieStorageService <string> lastCohortCookieStorageService)
     : base(owinWrapper, multiVariantTestingService, flashMessage)
 {
     Orchestrator = orchestrator;
     _lastCohortCookieStorageService = lastCohortCookieStorageService;
 }
Example #6
0
 public SettingsController(IAuthenticationService owinWrapper,
                           UserSettingsOrchestrator userSettingsOrchestrator,
                           IMultiVariantTestingService multiVariantTestingService,
                           ICookieStorageService <FlashMessageViewModel> flashMessage)
     : base(owinWrapper, multiVariantTestingService, flashMessage)
 {
     _userSettingsOrchestrator = userSettingsOrchestrator;
 }
 public ReportController(IMediator mediator,
                         ILog logger, IAuthenticationService owinWrapper,
                         IMultiVariantTestingService multiVariantTestingService,
                         ICookieStorageService <FlashMessageViewModel> flashMessage)
     : base(owinWrapper, multiVariantTestingService, flashMessage)
 {
     _mediator = mediator;
     _logger   = logger;
 }
 public BaseController(
     IOwinWrapper owinWrapper,
     IMultiVariantTestingService multiVariantTestingService,
     ICookieStorageService <FlashMessageViewModel> flashMessage)
 {
     OwinWrapper = owinWrapper;
     _multiVariantTestingService = multiVariantTestingService;
     _flashMessage = flashMessage;
 }
 public DataLockController(
     IOwinWrapper owinWrapper,
     IMultiVariantTestingService multiVariantTestingService,
     ICookieStorageService <FlashMessageViewModel> flashMessage,
     DataLockOrchestrator orchestrator
     ) : base(owinWrapper, multiVariantTestingService, flashMessage)
 {
     _orchestrator = orchestrator;
 }
 public EmployerTeamController(
     IAuthenticationService owinWrapper,
     IMultiVariantTestingService multiVariantTestingService,
     ICookieStorageService <FlashMessageViewModel> flashMessage,
     EmployerTeamOrchestrator employerTeamOrchestrator)
     : base(owinWrapper, multiVariantTestingService, flashMessage)
 {
     _employerTeamOrchestrator = employerTeamOrchestrator;
 }
Example #11
0
 public EmployerAccountPayeController(
     IAuthenticationService owinWrapper,
     EmployerAccountPayeOrchestrator employerAccountPayeOrchestrator,
     IMultiVariantTestingService multiVariantTestingService,
     ICookieStorageService <FlashMessageViewModel> flashMessage,
     IMediator mediatr) : base(owinWrapper, multiVariantTestingService, flashMessage)
 {
     _employerAccountPayeOrchestrator = employerAccountPayeOrchestrator;
     _mediatr = mediatr;
 }
Example #12
0
 public TaskController(
     IAuthenticationService owinWrapper,
     TaskOrchestrator taskOrchestrator,
     IMultiVariantTestingService multiVariantTestingService,
     ICookieStorageService <FlashMessageViewModel> flashMessage,
     ILog logger) : base(owinWrapper, multiVariantTestingService, flashMessage)
 {
     _orchestrator = taskOrchestrator;
     _logger       = logger;
 }
Example #13
0
 public InvitationController(InvitationOrchestrator invitationOrchestrator, IOwinWrapper owinWrapper,
                             IFeatureToggle featureToggle, IMultiVariantTestingService multiVariantTestingService, EmployerApprenticeshipsServiceConfiguration configuration, ICookieStorageService <FlashMessageViewModel> flashMessage)
     : base(owinWrapper, featureToggle, multiVariantTestingService, flashMessage)
 {
     if (invitationOrchestrator == null)
     {
         throw new ArgumentNullException(nameof(invitationOrchestrator));
     }
     _invitationOrchestrator = invitationOrchestrator;
     _configuration          = configuration;
 }
 public SearchOrganisationController(IAuthenticationService owinWrapper,
                                     SearchOrganisationOrchestrator orchestrator,
                                     IAuthorizationService authorization,
                                     IMultiVariantTestingService multiVariantTestingService,
                                     ICookieStorageService <FlashMessageViewModel> flashMessage,
                                     IMapper mapper)
     : base(owinWrapper, multiVariantTestingService, flashMessage)
 {
     _orchestrator = orchestrator;
     _mapper       = mapper;
 }
 public EmployerAgreementController(IAuthenticationService owinWrapper,
                                    EmployerAgreementOrchestrator orchestrator,
                                    IMultiVariantTestingService multiVariantTestingService,
                                    ICookieStorageService <FlashMessageViewModel> flashMessage,
                                    IMediator mediator,
                                    IMapper mapper)
     : base(owinWrapper, multiVariantTestingService, flashMessage)
 {
     _orchestrator = orchestrator;
     _mediator     = mediator;
     _mapper       = mapper;
 }
Example #16
0
        public EmployerAccountController(IOwinWrapper owinWrapper, EmployerAccountOrchestrator employerAccountOrchestrator,
                                         IFeatureToggle featureToggle, IMultiVariantTestingService multiVariantTestingService, ILogger logger, ICookieStorageService <FlashMessageViewModel> flashMessage)
            : base(owinWrapper, featureToggle, multiVariantTestingService, flashMessage)
        {
            if (employerAccountOrchestrator == null)
            {
                throw new ArgumentNullException(nameof(employerAccountOrchestrator));
            }

            _employerAccountOrchestrator = employerAccountOrchestrator;
            _logger = logger;
        }
 public EmployerManageApprenticesController(
     IEmployerManageApprenticeshipsOrchestrator orchestrator,
     IOwinWrapper owinWrapper,
     IMultiVariantTestingService multiVariantTestingService,
     ICookieStorageService <FlashMessageViewModel> flashMessage,
     ILinkGenerator linkGenerator,
     ILog logger)
     : base(owinWrapper, multiVariantTestingService, flashMessage)
 {
     _orchestrator  = orchestrator;
     _linkGenerator = linkGenerator;
     _logger        = logger;
 }
 public InvitationController(InvitationOrchestrator invitationOrchestrator, IAuthenticationService owinWrapper,
                             IMultiVariantTestingService multiVariantTestingService,
                             EmployerAccountsConfiguration configuration,
                             ICookieStorageService <FlashMessageViewModel> flashMessage)
     : base(owinWrapper, multiVariantTestingService, flashMessage)
 {
     if (invitationOrchestrator == null)
     {
         throw new ArgumentNullException(nameof(invitationOrchestrator));
     }
     _invitationOrchestrator = invitationOrchestrator;
     _configuration          = configuration;
 }
        public OrganisationSharedController(IAuthenticationService owinWrapper,
                                            OrganisationOrchestrator orchestrator,
                                            IMultiVariantTestingService multiVariantTestingService,
                                            IMapper mapper,
                                            ICookieStorageService <FlashMessageViewModel> flashMessage,
                                            IMediator mediatr)
            : base(owinWrapper, multiVariantTestingService, flashMessage)

        {
            _orchestrator = orchestrator;
            _mapper       = mapper;
            _mediatr      = mediatr ?? throw new ArgumentNullException(nameof(mediatr));
        }
Example #20
0
 public SearchPensionRegulatorController(
     IAuthenticationService owinWrapper,
     SearchPensionRegulatorOrchestrator searchPensionRegulatorOrchestrator,
     IMultiVariantTestingService multiVariantTestingService,
     ICookieStorageService <FlashMessageViewModel> flashMessage,
     IMediator mediatr,
     ICookieStorageService <HashedAccountIdModel> accountCookieStorage)
     : base(owinWrapper, multiVariantTestingService, flashMessage)
 {
     _searchPensionRegulatorOrchestrator = searchPensionRegulatorOrchestrator;
     _mediatr = mediatr;
     _accountCookieStorage = accountCookieStorage;
 }
 public EmployerCommitmentsController(
     IEmployerCommitmentsOrchestrator orchestrator,
     IOwinWrapper owinWrapper,
     IMultiVariantTestingService multiVariantTestingService,
     ICookieStorageService <FlashMessageViewModel> flashMessage,
     ICookieStorageService <string> lastCohortCookieStorageService,
     IFeatureToggleService featureToggleService,
     ILinkGenerator linkGenerator)
     : base(orchestrator, owinWrapper, multiVariantTestingService, flashMessage, lastCohortCookieStorageService)
 {
     _featureToggleService = featureToggleService;
     _linkGenerator        = linkGenerator;
 }
 public OrganisationController(
     IOwinWrapper owinWrapper,
     OrganisationOrchestrator orchestrator,
     IFeatureToggle featureToggle,
     IMultiVariantTestingService multiVariantTestingService,
     IMapper mapper,
     ILogger logger,
     ICookieStorageService <FlashMessageViewModel> flashMessage)
     : base(owinWrapper, featureToggle, multiVariantTestingService, flashMessage)
 {
     _orchestrator = orchestrator;
     _mapper       = mapper;
     _logger       = logger;
 }
 public HomeController(IAuthenticationService owinWrapper,
                       HomeOrchestrator homeOrchestrator,
                       EmployerAccountsConfiguration configuration,
                       IMultiVariantTestingService multiVariantTestingService,
                       ICookieStorageService <FlashMessageViewModel> flashMessage,
                       ICookieStorageService <ReturnUrlModel> returnUrlCookieStorageService,
                       ILog logger)
     : base(owinWrapper, multiVariantTestingService, flashMessage)
 {
     _homeOrchestrator = homeOrchestrator;
     _configuration    = configuration;
     _returnUrlCookieStorageService = returnUrlCookieStorageService;
     _logger = logger;
 }
        public EmployerAccountPayeController(
            IAuthenticationService owinWrapper,
            EmployerAccountPayeOrchestrator employerAccountPayeOrchestrator,
            IAuthorizationService authorization,
            IMultiVariantTestingService multiVariantTestingService,
            ICookieStorageService <FlashMessageViewModel> flashMessage) : base(owinWrapper, multiVariantTestingService, flashMessage)
        {
            if (owinWrapper == null)
            {
                throw new ArgumentNullException(nameof(owinWrapper));
            }

            _employerAccountPayeOrchestrator = employerAccountPayeOrchestrator ?? throw new ArgumentNullException(nameof(employerAccountPayeOrchestrator));
        }
        public EmployerManageApprenticesController(
            EmployerManageApprenticeshipsOrchestrator orchestrator,
            IOwinWrapper owinWrapper,
            IFeatureToggle featureToggle,
            IMultiVariantTestingService multiVariantTestingService,
            ICookieStorageService <FlashMessageViewModel> flashMessage)
            : base(owinWrapper, featureToggle, multiVariantTestingService, flashMessage)
        {
            if (orchestrator == null)
            {
                throw new ArgumentNullException(nameof(orchestrator));
            }

            _orchestrator = orchestrator;
        }
 public EmployerAccountController(IAuthenticationService owinWrapper,
                                  EmployerAccountOrchestrator employerAccountOrchestrator,
                                  IMultiVariantTestingService multiVariantTestingService,
                                  ILog logger,
                                  ICookieStorageService <FlashMessageViewModel> flashMessage,
                                  IMediator mediatr,
                                  ICookieStorageService <ReturnUrlModel> returnUrlCookieStorageService,
                                  ICookieStorageService <HashedAccountIdModel> accountCookieStorage)
     : base(owinWrapper, multiVariantTestingService, flashMessage)
 {
     _employerAccountOrchestrator = employerAccountOrchestrator;
     _logger  = logger;
     _mediatr = mediatr ?? throw new ArgumentNullException(nameof(mediatr));
     _returnUrlCookieStorageService = returnUrlCookieStorageService;
     _accountCookieStorage          = accountCookieStorage;
     _hashedAccountIdCookieName     = typeof(HashedAccountIdModel).FullName;
 }
        public EmployerAgreementController(IAuthenticationService owinWrapper,
                                           EmployerAgreementOrchestrator orchestrator,
                                           IAuthorizationService authorization,
                                           IMultiVariantTestingService multiVariantTestingService,
                                           ICookieStorageService <FlashMessageViewModel> flashMessage,
                                           IMediator mediator,
                                           IMapper mapper)
            : base(owinWrapper, multiVariantTestingService, flashMessage)
        {
            if (owinWrapper == null)
            {
                throw new ArgumentNullException(nameof(owinWrapper));
            }
            if (orchestrator == null)
            {
                throw new ArgumentNullException(nameof(orchestrator));
            }

            _orchestrator = orchestrator;
            _mediator     = mediator;
            _mapper       = mapper;
        }
 public EmployerTeamController(IOwinWrapper owinWrapper, EmployerTeamOrchestrator employerTeamOrchestrator,
                               IFeatureToggle featureToggle, IMultiVariantTestingService multiVariantTestingService, ICookieStorageService <FlashMessageViewModel> flashMessage)
     : base(owinWrapper, featureToggle, multiVariantTestingService, flashMessage)
 {
     _employerTeamOrchestrator = employerTeamOrchestrator;
 }
Example #29
0
 public TestController(IFeatureToggle featureToggle, IOwinWrapper owinWrapper, IMultiVariantTestingService multiVariantTestingService, ICookieStorageService <FlashMessageViewModel> flashMessage)
     : base(owinWrapper, featureToggle, multiVariantTestingService, flashMessage)
 {
 }
Example #30
0
 public EmployerAccountTransactionsController(IAuthenticationService owinWrapper, IMultiVariantTestingService multiVariantTestingService, ICookieStorageService <FlashMessageViewModel> flashMessage) : base(owinWrapper, multiVariantTestingService, flashMessage)
 {
 }