public PeriodServiceFacade(IPeriodService periodService, IMapper <Period, PeriodDescriptionDTO> periodDescriptionMapper, IMapper <Period, PeriodDTOWithAction> periodDTOWithActionsMapper, IMapper <Period, PeriodDTO> periodDTOMapper, IMapper <InquiryInitializingProgress, PeriodStateWithIntializeInquirySummaryDTO> periodInitializeInquiryStateReportMapper, IMapper <BasicDataCopyingProgress, PeriodStateWithCopyingSummaryDTO> periodCopyingStateReportMapper, IPeriodRepository periodRep, IPeriodEngineService periodEngine, IEmployeeRepository employeeRepository, IJobPositionRepository jobPositionRepository, IUnitRepository unitRepository, IJobIndexPointRepository jobIndexPointRepository, ICalculationRepository calculationRepository, IJobIndexRepository jobIndexRepository) { this.periodService = periodService; this.periodDescriptionMapper = periodDescriptionMapper; this.periodDTOWithActionsMapper = periodDTOWithActionsMapper; this.periodDTOMapper = periodDTOMapper; this.periodInitializeInquiryStateReportMapper = periodInitializeInquiryStateReportMapper; this.periodCopyingStateReportMapper = periodCopyingStateReportMapper; this.periodRep = periodRep; this.periodEngine = periodEngine; this.employeeRepository = employeeRepository; this.jobPositionRepository = jobPositionRepository; this.unitRepository = unitRepository; this.jobIndexPointRepository = jobIndexPointRepository; this.calculationRepository = calculationRepository; this.jobIndexRepository = jobIndexRepository; }
public QuestionController(IReportService reportService, IEmployerAccountService employerAccountService, IWebConfiguration webConfiguration, IPeriodService periodService, IUserService userService) : base(webConfiguration, employerAccountService) { _reportService = reportService; _periodService = periodService; _userService = userService; }
/// <summary> /// Init Stat Service /// </summary> public StatService(IPeriodService periodService, IGlobalTaskService globalTaskService, ISubjectTaskService subjectTaskService, IPeriodTaskService periodTaskService) { _periodService = periodService; _globalTaskService = globalTaskService; _subjectTaskService = subjectTaskService; _periodTaskService = periodTaskService; }
public ALLFPeriodEndService( IStorageService storageService, IFileUploadJobMetaDataModelBuilderService fileUploadJobMetaDataModelBuilderService, ICollectionsService collectionService, IPeriodService periodService, IStateService stateService, ICloudStorageService cloudStorageService, IJobService jobService, ILogger logger, AzureStorageSection azureStorageConfig, ApiSettings apiSettings, IHttpClientService httpClientService) { _storageService = storageService; _fileUploadJobMetaDataModelBuilderService = fileUploadJobMetaDataModelBuilderService; _collectionService = collectionService; _periodService = periodService; _stateService = stateService; _cloudStorageService = cloudStorageService; _jobService = jobService; _logger = logger; _azureStorageConfig = azureStorageConfig; _httpClientService = httpClientService; _baseUrl = apiSettings.JobManagementApiBaseUrl; }
public BatchProcess(IPeriodService service, IIdentityService identityService, ITrackService trackService, IWasteStatisticService wasteStatisticService, IBatchLogService batchLogService) { if (service == null) { throw new ArgumentNullException("service"); } if (identityService == null) { throw new ArgumentNullException("identityService"); } if (trackService == null) { throw new ArgumentNullException("trackService"); } if (wasteStatisticService == null) { throw new ArgumentNullException("wasteStatisticService"); } if (batchLogService == null) { throw new ArgumentNullException("batchLogService"); } _service = service; _identityService = identityService; _trackService = trackService; _wasteStatisticService = wasteStatisticService; _batchLogService = batchLogService; }
public DispatchController(IDispatchAllocationService dispatchAllocationService, IDispatchService dispatchService, IUserProfileService userProfileService, IOtherDispatchAllocationService otherDispatchAllocationService, IDispatchDetailService dispatchDetailService, IUnitService unitService, ICommodityTypeService commodityTypeService, IProgramService programService, ITransporterService transporterService, IPeriodService periodService, ICommodityService commodityService, ITransactionService transactionService, IStoreService storeService, IAdminUnitService adminUnitService, IHubService hubService, IFDPService fdpService, IProjectCodeService projectCodeService, IShippingInstructionService shippingInstructionService, ISMSGatewayService smsGatewayService, IContactService contactService, ISMSService smsService, IReliefRequisitionService reliefRequisitionService) : base(userProfileService) { _dispatchAllocationService = dispatchAllocationService; _dispatchService = dispatchService; _userProfileService = userProfileService; _otherDispatchAllocationService = otherDispatchAllocationService; _dispatchDetailService = dispatchDetailService; _unitService = unitService; _commodityTypeService = commodityTypeService; _programService = programService; _transporterService = transporterService; _periodService = periodService; _commodityService = commodityService; _transactionService = transactionService; _storeService = storeService; _adminUnitService = adminUnitService; _hubService = hubService; _fdpService = fdpService; _projectCodeService = projectCodeService; _shippingInstructionService = shippingInstructionService; _smsGatewayService = smsGatewayService; _contactService = contactService; _smsService = smsService; _reliefRequisitionService = reliefRequisitionService; }
public DispatchController(IDispatchAllocationService dispatchAllocationService, IDispatchService dispatchService, IUserProfileService userProfileService, IOtherDispatchAllocationService otherDispatchAllocationService, IDispatchDetailService dispatchDetailService, IUnitService unitService, ICommodityTypeService commodityTypeService, IProgramService programService, ITransporterService transporterService, IPeriodService periodService, ICommodityService commodityService, ITransactionService transactionService, IStoreService storeService, IAdminUnitService adminUnitService, IHubService hubService, IFDPService fdpService, IProjectCodeService projectCodeService, IShippingInstructionService shippingInstructionService) { _dispatchAllocationService = dispatchAllocationService; _dispatchService = dispatchService; _userProfileService = userProfileService; _otherDispatchAllocationService = otherDispatchAllocationService; _dispatchDetailService = dispatchDetailService; _unitService = unitService; _commodityTypeService = commodityTypeService; _programService = programService; _transporterService = transporterService; _periodService = periodService; _commodityService = commodityService; _transactionService = transactionService; _storeService = storeService; _adminUnitService = adminUnitService; _hubService = hubService; _fdpService = fdpService; _projectCodeService = projectCodeService; _shippingInstructionService = shippingInstructionService; }
public BudgetController(IMapper mapper, IUriService uriService, IIdentityService identityService, IBudgetService budgetService, IPeriodService periodService) { _mapper = mapper; _identityService = identityService; _uriService = uriService; _budgetService = budgetService; _periodService = periodService; }
public HistoryController( IPeriodService periodService, IStorageService storageService, IALLFHistoryService allfHistoryService, ILogger logger, TelemetryClient telemetryClient) : base(storageService, logger, telemetryClient) { _periodService = periodService; _allfHistoryService = allfHistoryService; }
public LessonsController( ILessonService lessonService, ISchoolclassService schoolclassService, ITeacherService teacherService, IPeriodService periodService) { _lessonService = lessonService; _schoolclassService = schoolclassService; _teacherService = teacherService; _periodService = periodService; }
public PeriodEndController( IPeriodService periodService, IPeriodEndService periodEndService, IStateService stateService, ILogger logger, TelemetryClient telemetryClient) : base(logger, telemetryClient) { _periodService = periodService; _periodEndService = periodEndService; _stateService = stateService; }
public PeriodEndReportController( IPeriodService periodService, INCSPeriodEndService periodEndService, IStorageService storageService, ILogger logger, TelemetryClient telemetryClient) : base(logger, telemetryClient) { _logger = logger; _periodService = periodService; _periodEndService = periodEndService; _storageService = storageService; }
public ReportsHub( IHubContext <ReportsHub> hubContext, IValidationRulesService validationRulesService, ICollectionsService collectionsService, IPeriodService periodService, IReportsService reportsService) { _hubContext = hubContext; _validationRulesService = validationRulesService; _collectionsService = collectionsService; _periodService = periodService; _reportsService = reportsService; }
public HomeController(IReportService reportService, IEmployerAccountService employerAccountService, IWebConfiguration webConfiguration, IPeriodService periodService, IAuthorizationService authorizationService) : base(webConfiguration, employerAccountService) { _reportService = reportService; _periodService = periodService; _authorizationService = authorizationService; _currentPeriod = _periodService.GetCurrentPeriod(); submitLookup = new ReadOnlyDictionary <string, SubmitAction>( buildSubmitLookups()); }
public ReportController(IReportService reportService, IEmployerAccountService employerAccountService, IUserService userService, IWebConfiguration webConfiguration, IPeriodService periodService, IAuthorizationService authorizationService, IMediator mediatr) : base(webConfiguration, employerAccountService) { _reportService = reportService; _userService = userService; _authorizationService = authorizationService ?? throw new ArgumentNullException(nameof(authorizationService)); _mediatr = mediatr ?? throw new ArgumentNullException(nameof(mediatr)); _currentPeriod = periodService.GetCurrentPeriod(); }
public NCSPeriodEndHub( IHubEventBase eventBase, IHubContext <NCSPeriodEndHub> hubContext, INCSPeriodEndService periodEndService, IStateService stateService, IPeriodService periodService, ILogger logger) { _eventBase = eventBase; _hubContext = hubContext; _periodEndService = periodEndService; _stateService = stateService; _periodService = periodService; _logger = logger; }
public ReportsController( ILogger logger, IStorageService storageService, IPeriodService periodService, IReportsService reportsService, ICollectionsService collectionsService, IEnumerable <IReport> Reports, TelemetryClient telemetryClient) : base(logger, telemetryClient) { _logger = logger; _storageService = storageService; _periodService = periodService; _reportsService = reportsService; _collectionsService = collectionsService; _reports = Reports; }
public PeriodEndPrepHub( IPeriodEndPrepHubEventBase eventBase, IHubContext <PeriodEndPrepHub> hubContext, IPeriodEndService periodEndService, IEmailService emailService, IStateService stateService, IPeriodService periodService, ILogger logger) { _eventBase = eventBase; _hubContext = hubContext; _periodEndService = periodEndService; _emailService = emailService; _stateService = stateService; _periodService = periodService; _logger = logger; }
public ReportsService( ApiSettings apiSettings, ICollectionsService collectionsService, IEnumerable <IReport> reports, IAuthorisationService authorisationService, IIndex <PersistenceStorageKeys, IFileService> operationsFileService, IHttpClientService httpClientService, IPeriodService periodService, IDateTimeProvider dateTimeProvider) { _collectionsService = collectionsService; _reports = reports; _authorisationService = authorisationService; _httpClientService = httpClientService; _periodService = periodService; _dateTimeProvider = dateTimeProvider; _operationsFileService = operationsFileService[PersistenceStorageKeys.OperationsAzureStorage]; _baseUrl = apiSettings.JobManagementApiBaseUrl; }
public PeriodEndHub( IHubEventBase eventBase, IHubContext <PeriodEndHub> hubContext, IPeriodEndService periodEndService, IEmailService emailService, IStateService stateService, IPeriodService periodService, IApiAvailabilityService apiAvailabilityService, ILogger logger) { _eventBase = eventBase; _hubContext = hubContext; _periodEndService = periodEndService; _emailService = emailService; _stateService = stateService; _periodService = periodService; _apiAvailabilityService = apiAvailabilityService; _logger = logger; }
private ReportsService NewService( ApiSettings apiSettings = null, ICollectionsService collectionsService = null, IEnumerable <IReport> reports = null, IAuthorisationService authorisationService = null, IIndex <PersistenceStorageKeys, IFileService> operationsFileService = null, IHttpClientService httpClientService = null, IPeriodService periodService = null, IDateTimeProvider dateTimeProvider = null) { return(new ReportsService( apiSettings ?? new ApiSettings(), collectionsService ?? Mock.Of <ICollectionsService>(), reports, authorisationService ?? Mock.Of <IAuthorisationService>(), operationsFileService ?? Mock.Of <IIndex <PersistenceStorageKeys, IFileService> >(), httpClientService ?? Mock.Of <IHttpClientService>(), periodService ?? Mock.Of <IPeriodService>(), dateTimeProvider ?? Mock.Of <IDateTimeProvider>())); }
public PeriodController(IPeriodService service) { _service = service; }
public TimeTableController(ILogger <TimeTableController> logger, IPeriodService periodService) { _logger = logger; _periodService = periodService; }
public HistoryController(IPeriodService periodService, IILRHistoryService ilrIlrHistoryService, ILogger logger, TelemetryClient telemetryClient) : base(logger, telemetryClient) { _periodService = periodService; _ilrHistoryService = ilrIlrHistoryService; }
/// <summary> /// Init Calendar service /// </summary> /// <param name="periodService">Period Service</param> public CalendarService(IPeriodService periodService) { _periodService = periodService; }
/// <summary> /// /// </summary> /// <param name="db"></param> /// <param name="periodService"></param> public PeriodController(IUnitOfWork db, IPeriodService periodService) { _db = db; _periodService = periodService; }
public PeriodsController(IPeriodService periodService) { _periodService = periodService; }
public CalculationEngineService(ICalculationService service, IPeriodService periodService, IPeriodRepository p) { this.service = service; this.periodService = periodService; }
public PeriodController(IPeriodService periodService) { this._periodService = periodService; }
public override void Initialize() { _applicationDbFactory = CreateApplicationDbFactoryTest(); _periodService = new PeriodService(_applicationDbFactory); }
public PeriodController(IPeriodService periodService, ISchoolDayService schoolDayService, IMapper mapper) { PeriodService = periodService; SchoolDayService = schoolDayService; Mapper = mapper; }