public OversightOrchestrator(IApplyApiClient applyApiClient, ILogger <OversightOrchestrator> logger,
                              ICacheStorageService cacheStorageService)
 {
     _applyApiClient      = applyApiClient;
     _logger              = logger;
     _cacheStorageService = cacheStorageService;
 }
 public CachedDeliveryAreasService(
     IAssessorsApiClient <AssessorsApiConfiguration> assessorsApiClient,
     ICacheStorageService cacheStorageService)
 {
     _assessorsApiClient  = assessorsApiClient;
     _cacheStorageService = cacheStorageService;
 }
 public CachedCoursesService(
     ICoursesApiClient <CoursesApiConfiguration> coursesApiClient,
     ICacheStorageService cacheStorageService)
 {
     _coursesApiClient    = coursesApiClient;
     _cacheStorageService = cacheStorageService;
 }
Ejemplo n.º 4
0
        protected BaseController(IAuthorizationService authorizationService,
                                 IEnumMappingService enumMappingService,
                                 string controllerName)
        {
            _authorizationService = AuthorizationServiceFactory.Current;
            _enumMappingService   = enumMappingService;
            ControllerName        = controllerName;
            FilterCacheKey        = string.Format(FILTER_CACHE_KEY, controllerName);
            _cacheStorageService  = CacheStorageFactory.Current;
            activeOptions         = new List <SelectListItem>()
            {
                new SelectListItem()
                {
                    Text  = Localization.GetText("COMMON.All"),
                    Value = string.Empty
                },
                new SelectListItem()
                {
                    Text  = Localization.GetText("COMMON.Active"),
                    Value = "Active"
                },
                new SelectListItem()
                {
                    Text  = Localization.GetText("COMMON.Inactive"),
                    Value = "Inactive"
                }
            };

            FormatDate = ConfigurationServiceFactory.Current.GetApplicationSettings().FormatDate;
        }
 public BitacoraNecesidadService(IBitacoraNecesidadRepository bitacoraNecesidadRepository, INecesidadRepository necesidadRepository, IMaestroRepository maestroRepository)
 {
     _bitacoraNecesidadRepository = bitacoraNecesidadRepository;
     _necesidadRepository         = necesidadRepository;
     _maestroRepository           = maestroRepository;
     _cacheStorageService         = new SessionCacheStorageService();
 }
Ejemplo n.º 6
0
 public CourseService(
     ICacheStorageService cacheStorageService,
     IApiClient apiClient)
 {
     _cacheStorageService = cacheStorageService;
     _apiClient           = apiClient;
 }
Ejemplo n.º 7
0
 public GetTrainingCoursesListQueryHandler(ICoursesApiClient <CoursesApiConfiguration> apiClient,
                                           IShortlistService shortlistService,
                                           ICacheStorageService cacheStorageService)
 {
     _apiClient        = apiClient;
     _shortlistService = shortlistService;
     _cacheHelper      = new CacheHelper(cacheStorageService);
 }
Ejemplo n.º 8
0
 public OversightOrchestrator(IApplyApiClient applyApiClient, ILogger <OversightOrchestrator> logger,
                              ICacheStorageService cacheStorageService, IRoatpRegisterApiClient registerApiClient)
 {
     _applyApiClient      = applyApiClient;
     _logger              = logger;
     _cacheStorageService = cacheStorageService;
     _registerApiClient   = registerApiClient;
 }
 public FatOrchestrator(IApprenticeshipSearchService apprenticeshipSearchService, IFatSearchResultsViewModelMapper fatSearchResultsViewModelMapper, IFatSearchFilterViewModelMapper fatSearchFilterViewModelMapper, ICacheStorageService cacheService, ICacheSettings cacheSettings)
 {
     _apprenticeshipSearchService     = apprenticeshipSearchService;
     _fatSearchResultsViewModelMapper = fatSearchResultsViewModelMapper;
     _fatSearchFilterViewModelMapper  = fatSearchFilterViewModelMapper;
     _cacheService  = cacheService;
     _cacheSettings = cacheSettings;
 }
 public BitacoraBecarioService(IBitacoraBecarioRepository bitacoraBecarioRepository)
 {
     _maestroRepository           = new MaestroRepository();
     _cacheStorageService         = new SessionCacheStorageService();
     _becarioRepository           = new BecarioRepository();
     _bitacoraBecarioRepository   = bitacoraBecarioRepository;
     _tipoEstadoBecarioRepository = new TipoEstadoBecarioRepository();
 }
 public ApprenticeshipOrchestrator(IMediator mediator, ILog logger, IFrameworkDetailsViewModelMapper frameworkDetailsViewModelMapper, IStandardDetailsViewModelMapper standardDetailsViewModelMapper, ICacheStorageService cacheStorageService, ICacheSettings cacheSettings)
 {
     _mediator = mediator;
     _logger   = logger;
     _frameworkDetailsViewModelMapper = frameworkDetailsViewModelMapper;
     _standardDetailsViewModelMapper  = standardDetailsViewModelMapper;
     _cacheService  = cacheStorageService;
     _cacheSettings = cacheSettings;
 }
Ejemplo n.º 12
0
 public CacheReservationStartDateCommandHandler(
     IValidator <CacheReservationStartDateCommand> validator,
     ICacheStorageService cacheStorageService,
     ICachedReservationRespository cachedReservationRepository)
 {
     _validator                   = validator;
     _cacheStorageService         = cacheStorageService;
     _cachedReservationRepository = cachedReservationRepository;
 }
Ejemplo n.º 13
0
 public GetAggregatedCourseDemandListQueryHandler(
     ICoursesApiClient <CoursesApiConfiguration> coursesApiClient,
     IEmployerDemandApiClient <EmployerDemandApiConfiguration> demandApiClient,
     ILocationLookupService locationLookupService,
     ICacheStorageService cacheStorageService)
 {
     _coursesApiClient      = coursesApiClient;
     _demandApiClient       = demandApiClient;
     _locationLookupService = locationLookupService;
     _cacheStorageService   = cacheStorageService;
 }
 public GetEpaoCoursesQueryHandler(
     IValidator <GetEpaoCoursesQuery> validator,
     IAssessorsApiClient <AssessorsApiConfiguration> assessorsApiClient,
     ICoursesApiClient <CoursesApiConfiguration> coursesApiClient,
     ICacheStorageService cacheStorageService)
 {
     _validator           = validator;
     _assessorsApiClient  = assessorsApiClient;
     _coursesApiClient    = coursesApiClient;
     _cacheStorageService = cacheStorageService;
 }
 public GetClientContentRequestHandler(
     ILog logger,
     IClientContentService service,
     ICacheStorageService cacheStorageService,
     ProviderApprenticeshipsServiceConfiguration providerApprenticeshipsServiceConfiguration)
 {
     _logger              = logger;
     _service             = service;
     _cacheStorageService = cacheStorageService;
     _providerApprenticeshipsServiceConfiguration = providerApprenticeshipsServiceConfiguration;
 }
 public CacheReservationCourseCommandHandler(
     IValidator <CacheReservationCourseCommand> validator,
     ICacheStorageService cacheStorageService,
     ICachedReservationRespository cachedReservationRepository,
     ICourseService courseService)
 {
     _validator                   = validator;
     _cacheStorageService         = cacheStorageService;
     _cachedReservationRepository = cachedReservationRepository;
     _courseService               = courseService;
 }
Ejemplo n.º 17
0
 public FundController(IAuthorizationService authorizationService,
                       IFundService fundService,
                       ICatalogService catalogService,
                       IEnumMappingService enumMappingService)
     : base(authorizationService, enumMappingService, CONTROLLER_NAME)
 {
     _authorizationService = authorizationService;
     _enumMappingService   = enumMappingService;
     _fundService          = fundService;
     _cacheService         = CacheStorageFactory.Current;
     _catalogService       = catalogService;
 }
Ejemplo n.º 18
0
 public FrameworkController(IAuthorizationService authorizationService,
                            IResultFrameworkService resultFrameworkService,
                            ICatalogService catalogService,
                            IEnumMappingService enumMappingService)
     : base(authorizationService, enumMappingService, CONTROLLER_NAME)
 {
     _authorizationService   = authorizationService;
     _enumMappingService     = enumMappingService;
     _resultFrameworkService = resultFrameworkService;
     _cacheService           = CacheStorageFactory.Current;
     _catalogService         = catalogService;
 }
 public GetTrainingCourseProviderQueryHandler(
     ICourseDeliveryApiClient <CourseDeliveryApiConfiguration> courseDeliveryApiClient,
     ICoursesApiClient <CoursesApiConfiguration> coursesApiClient,
     ICacheStorageService cacheStorageService,
     IShortlistService shortlistService,
     ILocationLookupService locationLookupService)
 {
     _courseDeliveryApiClient = courseDeliveryApiClient;
     _coursesApiClient        = coursesApiClient;
     _shortlistService        = shortlistService;
     _locationLookupService   = locationLookupService;
     _cacheHelper             = new CacheHelper(cacheStorageService);
 }
 public BasketOrchestrator(IMediator mediator,
                           ICookieManager cookieManager,
                           IBasketViewModelMapper basketViewModelMapper,
                           ICacheStorageService cacheService,
                           ICacheSettings cacheSettings,
                           IFatConfigurationSettings config)
 {
     _mediator              = mediator;
     _cookieManager         = cookieManager;
     _basketViewModelMapper = basketViewModelMapper;
     _cacheService          = cacheService;
     _cacheSettings         = cacheSettings;
     _config = config;
 }
Ejemplo n.º 21
0
 public StandardizedController(IAuthorizationService authorizationService,
                               IStandardizedOutputService standardizedOutputService,
                               ICatalogService catalogService,
                               IEnumMappingService enumMappingService,
                               ICommonTCMService commonTCMService)
     : base(authorizationService, enumMappingService, CONTROLLER_NAME)
 {
     _authorizationService      = authorizationService;
     _enumMappingService        = enumMappingService;
     _standardizedOutputService = standardizedOutputService;
     _cacheService     = CacheStorageFactory.Current;
     _catalogService   = catalogService;
     _commonTCMService = commonTCMService;
 }
Ejemplo n.º 22
0
 public GetContentRequestHandler(
     IValidator <GetContentRequest> validator,
     ILog logger,
     IContentApiClient service,
     ICacheStorageService cacheStorageService,
     EmployerFinanceConfiguration employerFinanceConfiguration
     )
 {
     _validator                    = validator;
     _logger                       = logger;
     _service                      = service;
     _cacheStorageService          = cacheStorageService;
     _employerFinanceConfiguration = employerFinanceConfiguration;
 }
Ejemplo n.º 23
0
        public BitacoraService(IBitacoraRepository bitacoraRepository, ICandidaturaRepository candidaturaRepository, ITipoDecisionRepository tipoDecisionRepository,
                               ITipoEtapaCandidaturaRepository tipoEtapaCandidaturaRepository, ITipoEstadoCandidaturaRepository tipoEstadoCandidaturaRepository,
                               IMaestroRepository maestroRepository)
        {
            _bitacoraRepository              = bitacoraRepository;
            _candidaturaRepository           = candidaturaRepository;
            _tipoDecisionRepository          = tipoDecisionRepository;
            _tipoEtapaCandidaturaRepository  = tipoEtapaCandidaturaRepository;
            _tipoEstadoCandidaturaRepository = tipoEstadoCandidaturaRepository;

            _maestroRepository = maestroRepository;

            _cacheStorageService = new SessionCacheStorageService();
        }
Ejemplo n.º 24
0
 public GetTrainingCourseQueryHandler(
     ICoursesApiClient <CoursesApiConfiguration> apiClient,
     ICourseDeliveryApiClient <CourseDeliveryApiConfiguration> courseDeliveryApiClient,
     ICacheStorageService cacheStorageService,
     IShortlistService shortlistService,
     ILocationLookupService locationLookupService,
     IOptions <FindApprenticeshipTrainingConfiguration> config)
 {
     _apiClient = apiClient;
     _courseDeliveryApiClient = courseDeliveryApiClient;
     _shortlistService        = shortlistService;
     _locationLookupService   = locationLookupService;
     _config      = config.Value;
     _cacheHelper = new CacheHelper(cacheStorageService);
 }
Ejemplo n.º 25
0
 public SearchController(
     ISearchService searchService,
     ICatalogService catalogService,
     IEnumMappingService enumMappingService,
     IAttributesEngineService attributesEngineService,
     IMasterDataService masterDataService)
 {
     _authorizationService    = AuthorizationServiceFactory.Current;
     _searchService           = searchService;
     _catalogService          = catalogService;
     _cacheStorageService     = CacheStorageFactory.Current;
     _enumMappingService      = enumMappingService;
     _attributesEngineService = attributesEngineService;
     _masterDataService       = masterDataService;
 }
Ejemplo n.º 26
0
 public CreateReservationCommandHandler(
     IValidator <CreateReservationCommand> createReservationValidator,
     IValidator <CachedReservation> cachedReservationValidator,
     IOptions <ReservationsApiConfiguration> apiOptions,
     IApiClient apiClient,
     ICacheStorageService cacheStorageService,
     ICachedReservationRespository cachedReservationRepository)
 {
     _createReservationValidator = createReservationValidator;
     _cachedReservationValidator = cachedReservationValidator;
     _apiOptions                  = apiOptions;
     _apiClient                   = apiClient;
     _cacheStorageService         = cacheStorageService;
     _cachedReservationRepository = cachedReservationRepository;
 }
Ejemplo n.º 27
0
 public UseCountrySystemController(
     IAuthorizationService authorizationService,
     ICatalogService catalogService,
     IEnumMappingService enumMappingService,
     ILinkPredefinedIndicatorService linkPredefinedIndicatorService,
     IUseCountrySystemService useCountrySystemService,
     ISecurityModelRepository securityModelRepository)
     : base(authorizationService)
 {
     _authorizationService           = authorizationService;
     _enumMappingService             = enumMappingService;
     _catalogService                 = catalogService;
     _linkPredefinedIndicatorService = linkPredefinedIndicatorService;
     _cacheService            = CacheStorageFactory.Current;
     _useCountrySystemService = useCountrySystemService;
     _securityModelRepository = securityModelRepository;
 }
        public StatusSearchController(
            IAuthorizationService authorizationService,
            ICatalogService catalogService,
            IStatusSearchService statusSearchService,
            IEnumMappingService enumMappingService,
            IConvergenceMasterDataRepository convergenceMasterDataRepository)
            : base(authorizationService)
        {
            _authorizationService            = authorizationService;
            _enumMappingService              = enumMappingService;
            _statusSearchService             = statusSearchService;
            _catalogService                  = catalogService;
            _cacheService                    = CacheStorageFactory.Current;
            _convergenceMasterDataRepository = convergenceMasterDataRepository;

            _varFinalizeYear = DateTime.Today.Year + 5;
            _varInitialYear  = 2010;
        }
Ejemplo n.º 29
0
 public GeneralInformationController(
     IGeneralInformationService generalInformationService,
     ISearchService searchService,
     ICatalogService catalogService,
     IAuthorizationService authorizationService,
     IEnumMappingService enumMappingService,
     IKeywordService keywordService,
     ICacheStorageService cacheStorageService)
     : base(authorizationService, enumMappingService)
 {
     _authorizationService      = AuthorizationServiceFactory.Current;
     _searchService             = searchService;
     _generalInformationService = generalInformationService;
     _catalogService            = catalogService;
     _enumMappingService        = enumMappingService;
     _keywordService            = keywordService;
     _cacheStorageService       = cacheStorageService;
 }
Ejemplo n.º 30
0
 public TrainingProviderOrchestrator(
     IMediator mediator,
     ISearchResultsViewModelMapper searchResultsViewModelMapper,
     ILog logger,
     ITrainingProviderDetailsViewModelMapper trainingProviderDetailsViewModelMapper,
     ITrainingProviderSearchFilterViewModelMapper trainingProviderSearchFilterViewModelMapper,
     ICacheStorageService cacheService,
     ICacheSettings cacheSettings,
     ITrainingProviderClosestLocationsViewModelMapper trainingProviderClosestLocationsViewModelMapper)
 {
     _mediator = mediator;
     _searchResultsViewModelMapper = searchResultsViewModelMapper;
     _logger = logger;
     _trainingProviderDetailsViewModelMapper      = trainingProviderDetailsViewModelMapper;
     _trainingProviderSearchFilterViewModelMapper = trainingProviderSearchFilterViewModelMapper;
     _cacheService  = cacheService;
     _cacheSettings = cacheSettings;
     _trainingProviderClosestLocationsViewModelMapper = trainingProviderClosestLocationsViewModelMapper;
 }