public AbsenceExportController(IAbsenceExportService absenceExportService,
                                IMapper mapper,
                                IAbsenceService absenceService)
 {
     _absenceExportService = absenceExportService;
     _mapper         = mapper;
     _absenceService = absenceService;
 }
        public AbsenceService(IExternalSystemFactory externalSystemFactory,
                              IIntegrationService integrationService,
                              IAbsenceExportService absenceExportService,
                              IExternalSystemValidatorFactory externalSystemValidatorFactory,
                              IUnitService unitService)
        {
            _externalSystemFactory          = externalSystemFactory;
            _integrationService             = integrationService;
            _absenceExportService           = absenceExportService;
            _externalSystemValidatorFactory = externalSystemValidatorFactory;
            _unitService = unitService;
            Logger       = NullLogger <AbsenceService> .Instance;

            _integrationValidator = new TimeregIntegrationValidator();
        }
示例#3
0
 public IntegrationDeleteConsumer(IStaticCustomerId staticCustomerId, IAbsenceExportService absenceExportService)
 {
     _absenceExportService = absenceExportService;
     _staticCustomerId     = staticCustomerId;
 }
示例#4
0
 public EmployeeDeletedConsumer(IAbsenceExportService absenceExportService, IStaticCustomerId staticCustomerId)
 {
     _absenceExportService = absenceExportService;
     _staticCustomerId     = staticCustomerId;
 }