Beispiel #1
0
 public TeacherController()
 {
     _teacherService = new TeacherService();
     _teacherService.Initialize(new ModelStateWrapper(this.ModelState));
     _teacherSclClsSubjService = new TeacherSchoolClassSubjectService();
     _schoolClsSubjService     = new SchoolClassSubjectService();
 }
 public SchoolClassController(ISchoolClassService scoolClassService,
     IMappingEngine mappingEngine,
     IDropdownQueries dropdownQueries,
     ISchoolClassTeacherService schoolClassTeacherService,
     ISchoolClassStudentService schoolClassStudentService,
     ISchoolClassSubjectService schoolClassSubjectService, IDatabaseSession databaseSession)
 {
     _scoolClassService = scoolClassService;
     _mappingEngine = mappingEngine;
     _dropdownQueries = dropdownQueries;
     _schoolClassTeacherService = schoolClassTeacherService;
     _schoolClassStudentService = schoolClassStudentService;
     _schoolClassSubjectService = schoolClassSubjectService;
     _databaseSession = databaseSession;
 }
 public TeacherAdminController()
 {
     _teacherService           = new TeacherService();
     _teacherSclClsSubjService = new TeacherSchoolClassSubjectService();
     _schoolClsSubjService     = new SchoolClassSubjectService();
 }