Beispiel #1
0
        public WorldRecordingContext(ILongTimeAbsenceService longabsenceService,
                                     IAbsenceService absenceService,
                                     IWorkingModelService wmManager,
                                     IColouringService colorManager,
                                     IEmployeeService emplService,
                                     IStoreService storeService,
                                     IWorkingTimePlanningService workingTimePlanningService,
                                     IAbsenceTimePlanningService absenceTimePlanningService,
                                     IWorkingTimeRecordingService workingTimeRecordingService,
                                     IAbsenceTimeRecordingService absenceTimeRecordingService
                                     )
        {
            _EmployeeService            = emplService;
            _StoreService               = storeService;
            _WorkingTimePlanningService = workingTimePlanningService;
            _AbsenceTimePlanningService = absenceTimePlanningService;

            _WorkingTimeRecordingService = workingTimeRecordingService;
            _AbsenceTimeRecordingService = absenceTimeRecordingService;

            m_countryabsences     = new AbsenceManager(absenceService);
            m_longabsences        = new LongTimeAbsenceManager(longabsenceService);
            m_workingmodelmanager = new WorkingModelManagerNew(wmManager);
            m_colormanager        = new CountryColorManager(colorManager);

            _ViewDate      = DateTime.Today;
            _BeginWeekDate = DateTimeHelper.GetMonday(DateTime.Today);
            _EndWeekDate   = DateTimeHelper.GetSunday(DateTime.Today);
            _ViewDate      = DateTime.Today;
        }
        public WorldRecordingContext(ILongTimeAbsenceService longabsenceService,
            IAbsenceService absenceService,
            IWorkingModelService wmManager,
            IColouringService colorManager,
            IEmployeeService emplService,
            IStoreService storeService,
            IWorkingTimePlanningService workingTimePlanningService,
            IAbsenceTimePlanningService absenceTimePlanningService,
            IWorkingTimeRecordingService workingTimeRecordingService,
            IAbsenceTimeRecordingService absenceTimeRecordingService
            )
        {
            _EmployeeService = emplService;
            _StoreService = storeService;
            _WorkingTimePlanningService = workingTimePlanningService;
            _AbsenceTimePlanningService = absenceTimePlanningService;

            _WorkingTimeRecordingService = workingTimeRecordingService;
            _AbsenceTimeRecordingService = absenceTimeRecordingService;

            m_countryabsences = new AbsenceManager(absenceService);
            m_longabsences = new LongTimeAbsenceManager(longabsenceService);
            m_workingmodelmanager = new WorkingModelManagerNew(wmManager);
            m_colormanager = new CountryColorManager(colorManager);

            _ViewDate = DateTime.Today;
            _BeginWeekDate = DateTimeHelper.GetMonday(DateTime.Today);
            _EndWeekDate = DateTimeHelper.GetSunday(DateTime.Today);
            _ViewDate = DateTime.Today;
        }