Пример #1
0
        public LeaveTypeController()
        {
            _departmentServices              = new DepartmentService();
            _designationServices             = new DesignationService();
            _moduleService                   = new ModuleService();
            _officeService                   = new OfficeServices();
            _bgService                       = new BusinessGroupService();
            _leaveTypeService                = new LeaveTypeService();
            _leaveRuleService                = new LeaveRuleService();
            _leaveRuleDetailService          = new LeaveRuleDetailService();
            _levelService                    = new LevelService();
            _darbandiService                 = new DarbandiService();
            _officeTypeService               = new OfficeTypeService();
            _rankService                     = new RankService();
            _rolesService                    = new RolesService();
            _roleAccessService               = new RolesAccessService();
            _leaveYearService                = new LeaveYearService();
            _sectionService                  = new SectionService();
            _shifService                     = new ShiftService();
            _shiftDayService                 = new ShiftDayService();
            _ethnicityService                = new EthnicityService();
            _jobTypeService                  = new JobTypeService();
            _educationLevelService           = new EducationLevelService();
            _rolesBusinessGroupAccessService = new RolesBusinessGroupAccessService();

            _fiscalService = new FiscalService();
        }
 public UserEmployeeController()
 {
     _employeeService             = new EmployeeService();
     _officeTypeServices          = new OfficeServices();
     _departmentServices          = new DepartmentService();
     _designationServices         = new DesignationService();
     _leaveRuleServices           = new LeaveRuleService();
     _levelServices               = new LevelService();
     _sectionServices             = new SectionService();
     _employeeService             = new EmployeeService();
     _jobTypeservices             = new JobTypeService();
     _rankServices                = new RankService();
     _shiftService                = new ShiftService();
     _serviceEventService         = new ServiceEventGroupService();
     _groupServices               = new GroupService();
     _moduleService               = new ModuleService();
     _bgGroupService              = new BusinessGroupService();
     _ethService                  = new EthnicityService();
     _religionService             = new ReligionService();
     _employeeVisitService        = new EmployeeVisitService();
     _countryService              = new CountryService();
     _rolesService                = new RolesService();
     _empPrizeService             = new EmployeePrizeService();
     _jobHistoryService           = new JobHistoryService();
     _officeService               = new OfficeServices();
     _remoteService               = new RemoteAreaService();
     _employeeTrainingService     = new EmployeeTrainingService();
     _serviceEventSubGroupService = new ServiceEventSubGroupService();
     _empEducationService         = new EmpEducationService();
     _empFamilyService            = new EmpFamilyService();
     _educationLevel              = new EducationLevelService();
 }
Пример #3
0
 public HolidayController()
 {
     _officeServices    = new OfficeServices();
     _moduleService     = new ModuleService();
     _ethnicityServices = new EthnicityService();
     _religionServices  = new ReligionService();
     _holidayServices   = new HolidayServices();
 }
Пример #4
0
        public UserRegistrationService(IServiceProvider serviceProvider, UserManager <User> userManager, RoleManager <Role> roleManager)
        {
            _userManager       = userManager;
            _roleManager       = roleManager;
            _countryService    = serviceProvider.GetRequiredService <ICountryService>();
            _cityService       = serviceProvider.GetRequiredService <ICityService>();
            _ethnicityService  = serviceProvider.GetRequiredService <IEthnicityService>();
            _occupationService = serviceProvider.GetRequiredService <IOccupationService>();
            _profileService    = serviceProvider.GetRequiredService <IProfileService>();
            _interestService   = serviceProvider.GetRequiredService <IInterestService>();

            _unitOfWork = serviceProvider.GetRequiredService <IUnitOfWork>();
        }
Пример #5
0
 public EthnicityController(IEthnicityService ethnicityService)
 {
     _ethnicityService = ethnicityService;
 }
Пример #6
0
 public EthnicityInformationService(IEthnicityService ethnicityService)
 {
     _ethnicityService = ethnicityService;
 }
Пример #7
0
 public EthnicityController(IEthnicityService nationService)
 {
     _nationService = nationService;
 }
 public EthnicityController(IEthnicityService service)
 {
     this.service = service;
 }
Пример #9
0
 public ServiceLocatorSchool(IServiceLocatorMaster serviceLocatorMaster)
     : base(serviceLocatorMaster.Context)
 {
     this.serviceLocatorMaster = serviceLocatorMaster;
     personService             = new PersonService(this);
     addressSerivce            = new AddressService(this);
     gradeLevelService         = new GradeLevelService(this);
     markingPeriodService      = new MarkingPeriodService(this);
     classService                  = new ClassService(this);
     schoolYearService             = new SchoolYearService(this);
     announcementQnAService        = new AnnouncementQnAService(this);
     announcementAttachmentService = new AnnouncementAttachmentService(this);
     phoneService                  = new PhoneService(this);
     privateMessageService         = new PrivateMessageService(this);
     roomService                          = new RoomService(this);
     periodService                        = new PeriodService(this);
     calendarDateService                  = new CalendarDateService(this);
     dayTypeService                       = new DayTypeService(this);
     classPeriodService                   = new ClassPeriodService(this);
     notificationService                  = new NotificationService(this);
     attendanceReasonService              = new AttendanceReasonService(this);
     attendanceService                    = new AttendanceService(this);
     studentParentService                 = new StudentParentService(this);
     studentAnnouncementService           = new StudentAnnouncementService(this);
     classClassAnnouncementTypeService    = new ClassClassAnnouncementTypeService(this);
     infractionService                    = new InfractionService(this);
     applicationSchoolService             = new ApplicationSchoolService(this);
     disciplineService                    = new DisciplineService(this);
     gradingStatisticService              = new GradingStatisticService(this);
     schoolService                        = new SchoolService(this);
     schoolPersonService                  = new SchoolPersonService(this);
     standardService                      = new StandardService(this);
     alphaGradeService                    = new AlphaGradeService(this);
     alternateScoreService                = new AlternateScoreService(this);
     gradingPeriodService                 = new GradingPeriodService(this);
     syncService                          = new SyncService(this);
     gradingStandardService               = new GradingStandardService(this);
     reportService                        = new ReportingService(this);
     gradingCommentService                = new GradingCommentService(this);
     gradingScaleService                  = new GradingScaleService(this);
     classroomOptionService               = new ClassroomOptionService(this);
     personEmailService                   = new PersonEmailService(this);
     schoolDbService                      = new DbService(Context != null ? Context.SchoolConnectionString : null);
     scheduledTimeSlotService             = new ScheduledTimeSlotService(this);
     studentService                       = new StudentService(this);
     staffService                         = new StaffService(this);
     userSchoolService                    = new UserSchoolService(this);
     bellScheduleService                  = new BellScheduleService(this);
     practiceGradeService                 = new PracticeGradeService(this);
     attendanceMonthService               = new AttendanceMonthService(this);
     gradedItemService                    = new GradedItemService(this);
     announcementAttributeService         = new AnnouncementAttributeService(this);
     announcementAssignedAttributeService = new AnnouncementAssignedAttributeService(this);
     contactService                       = new ContactService(this);
     teacherCommentService                = new TeacherCommentService(this);
     dbMaintenanceService                 = new DbMaintenanceService(this);
     groupService                         = new GroupService(this);
     courseTypeService                    = new CourseTypeService(this);
     settingsService                      = new SettingsService(this);
     lpGalleryCategoryService             = new LPGalleryCategoryService(this);
     lessonPlanService                    = new LessonPlanService(this);
     classAnnouncementService             = new ClassAnnouncementService(this);
     adminAnnouncementService             = new AdminAnnouncementService(this);
     announcementFetchService             = new AnnouncementFetchService(this);
     leService                       = new LEService(this);
     attachementService              = new AttachmentService(this);
     personSettingService            = new PersonSettingService(this);
     studentCustomAlertDetailService = new StudentCustomAlertDetailService(this);
     panoramaSettingsService         = new PanoramaSettingsService(this);
     standardizedTestService         = new StandardizedTestService(this);
     supplementalAnnouncementService = new SupplementalAnnouncementService(this);
     ethnicityService                = new EthnicityService(this);
     languageService                 = new LanguageService(this);
     countryService                  = new CountryService(this);
     announcementCommentService      = new AnnouncementCommentService(this);
     appSettingService               = new AppSettingService(this);
     limitedEnglishService           = new LimitedEnglishService(this);
     schoolProgramService            = new SchoolProgramService(this);
     studentSchoolProgramService     = new StudentSchoolProgramService(this);
     mealTypeService                 = new MealTypeService(this);
     lunchCountService               = new LunchCountService(this);
 }
Пример #10
0
 public EthnicityController(IEthnicityService service, IEthnicityFeatureRepository etRepository)
 {
     _service = service;
 }