public CourseController(
     ICoursesService coursesService,
     ITeachersService teachersService,
     ISubjectsService subjectsService,
     ISubjectTeachersService subjectTeachersService,
     ICourseSubjectsService courseSubjectsService,
     ICourseSubjectTeacherService courseSubjectTeacherService,
     IStudentSubjectsService studentSubjectsService,
     IAttendancesService attendancesService,
     IGradeService gradeService,
     ApplicationDbContext db,
     UserManager <ApplicationUser> userManager)
 {
     this.coursesService              = coursesService;
     this.teachersService             = teachersService;
     this.subjectsService             = subjectsService;
     this.subjectTeachersService      = subjectTeachersService;
     this.courseSubjectsService       = courseSubjectsService;
     this.courseSubjectTeacherService = courseSubjectTeacherService;
     this.studentSubjectsService      = studentSubjectsService;
     this.attendancesService          = attendancesService;
     this.gradeService = gradeService;
     this.db           = db;
     this.userManager  = userManager;
 }
 public SubjectController(
     ApplicationDbContext db,
     ISubjectsService subjectsService,
     ICoursesService coursesService,
     IStudentSubjectsService studentSubjectsService,
     ICourseSubjectsService courseSubjectsService,
     IAttendancesService attendancesService,
     ISubjectTeachersService subjectTeachersService,
     ICourseSubjectTeacherService courseSubjectTeacherService,
     IGradeService gradeService)
 {
     this.db = db;
     this.subjectsService             = subjectsService;
     this.coursesService              = coursesService;
     this.studentSubjectsService      = studentSubjectsService;
     this.courseSubjectsService       = courseSubjectsService;
     this.attendancesService          = attendancesService;
     this.subjectTeachersService      = subjectTeachersService;
     this.courseSubjectTeacherService = courseSubjectTeacherService;
     this.gradeService = gradeService;
 }
 public StudentController(
     IStudentsService studentsService,
     ISubjectsService subjectService,
     ICoursesService courseService,
     IGradeService gradeService,
     ICourseSubjectsService courseSubjectsService,
     IStudentSubjectsService studentSubjectsService,
     IAttendancesService attendancesService,
     IHostingEnvironment hostingEnvironment,
     ApplicationDbContext db)
 {
     this.studentsService        = studentsService;
     this.subjectService         = subjectService;
     this.courseService          = courseService;
     this.gradeService           = gradeService;
     this.courseSubjectsService  = courseSubjectsService;
     this.studentSubjectsService = studentSubjectsService;
     this.attendancesService     = attendancesService;
     this.hostingEnvironment     = hostingEnvironment;
     this.db = db;
 }
Exemple #4
0
 public CourseSubjectsAppService(ICourseSubjectsService courseSubjectService)
     : base(courseSubjectService)
 {
     _courseSubjectService = courseSubjectService;
 }