public ManagingMarksPresenter( IManagingMarksView managingMarksView, ISubjectManagementService subjectManagementService, IClassOfStudentsManagementService classOfStudentsManagementService, IStudentManagementService studentManagementService, IMarksManagementService marksManagementService) : base(managingMarksView) { Guard.WhenArgument(subjectManagementService, "subjectManagementService").IsNull().Throw(); Guard.WhenArgument(classOfStudentsManagementService, "classOfStudentsManagementService").IsNull().Throw(); Guard.WhenArgument(studentManagementService, "studentManagementService").IsNull().Throw(); Guard.WhenArgument(marksManagementService, "marksManagementService").IsNull().Throw(); this.subjectManagementService = subjectManagementService; this.classOfStudentsManagementService = classOfStudentsManagementService; this.marksManagementService = marksManagementService; this.studentManagementService = studentManagementService; this.View.EventBindSubjectsForTheSelectedTeacher += this.View_EventBindSubjects; this.View.EventBindClasses += this.View_EventBindClasses; this.View.EventBindSchoolReportCard += this.View_EventBindSchoolReportCard; this.View.EventInsertMark += this.View_EventInsertMark; this.View.EventBindStudents += this.View_EventBindStudents; this.View.EventBindMarks += this.View_EventBindMarks; }
public RegisterController(IStudentManagementService studentService, IAuthService authService) { this.studentService = studentService; this.authService = authService; }
public StudentManagementController(IOptions <ConnectionStringsDto> settings) { _serviceSettings = settings; studentManagementService = new StudentManagementService(settings.Value); }
public HomeController(IStudentManagementService stdService) { this.stdService = stdService; }
public StudentManagementController(IStudentManagementService studentManagementService) { _studentManagementService = studentManagementService; }
public StudentController(IStudentManagementService stdManagementService, ICourseManagementService courseservice) { this.stdManagementService = stdManagementService; this.courseservice = courseservice; }