public AddMarksPresenter( IAddMarksView view, IStudentClassService studentClassService, IStudentService studentService, ITeacherService teacherService, IMarkService markService, IMarkFactory markFactory) : base(view) { Validator.ValidateForNull(studentClassService, "studentClassService"); Validator.ValidateForNull(studentService, "studentService"); Validator.ValidateForNull(teacherService, "teacherService"); Validator.ValidateForNull(markService, "markService"); Validator.ValidateForNull(markFactory, "markFactory"); this.studentClassService = studentClassService; this.studentService = studentService; this.teacherService = teacherService; this.markFactory = markFactory; this.markService = markService; this.View.PageLoad += View_PageLoad; this.View.ClassSelected += View_ClassSelected; this.View.InsertMarks += View_InsertMarks; }
public StudentInfoController(IStudentInfoService studentInfoService, IStudentClassService studentClassService, IReportCardService reportCardService, IMemoryCache cache) { _studentInfoService = studentInfoService; _studentClassService = studentClassService; _reportCardService = reportCardService; _cache = cache; }
public StudentController(IStudentService studentService, IStudentClassService studentClassService, ILearningClassService learningClassService) { _studentService = studentService; _studentClassService = studentClassService; _learningClassService = learningClassService; }
public ClassService(IClassRepository classRepository, IStudentService studentService, ITeacherService teacherService, IStudentClassService studentClassService, ITeacherClassService teacherClassService) { _classRepository = classRepository; _studentService = studentService; _teacherService = teacherService; _studentClassService = studentClassService; _teacherClassService = teacherClassService; }
public AddTeacherToClassPresenter(IAddTeacherToClassView view, ITeacherService teacherService, IStudentClassService studentClassService) : base(view) { Validator.ValidateForNull(teacherService, "teacherService"); Validator.ValidateForNull(studentClassService, "studentClassService"); this.teacherService = teacherService; this.studentClassService = studentClassService; this.View.PageLoad += View_PageLoad; this.View.TeacherSelected += View_TeacherSelected; this.View.AddTeacherClick += View_AddTeacherClick; }
public AddNewClassPresenter(IAddNewClassView view, IStudentClassService studentClassService, ITeacherService teacherService, IStudentClassFactory studentClassFactory) : base(view) { Validator.ValidateForNull(studentClassService, "studentClassService"); Validator.ValidateForNull(teacherService, "teacherService"); Validator.ValidateForNull(studentClassFactory, "studentClassFactory"); this.studentClassService = studentClassService; this.teacherService = teacherService; this.studentClassFactory = studentClassFactory; this.View.PageLoad += View_PageLoad; this.View.CreateClassClick += View_CreateClassClick; }
public RegisterStudentPresenter(IRegisterStudentView view, IStudentClassService studentClassService, ITeacherService teacherService, IAppicationUserFactory appUserFactory) : base(view) { Validator.ValidateForNull(studentClassService, "studentClassService"); Validator.ValidateForNull(teacherService, "teacherService"); Validator.ValidateForNull(appUserFactory, "appUserFactory"); this.studentClassService = studentClassService; this.teacherService = teacherService; this.appUserFactory = appUserFactory; this.View.PageLoad += View_PageLoad; this.View.SubmitClick += View_SubmitClick; }
public AddNewLecturePresenter(IAddNewLectureView view, ITeacherService teacherService, ILectureService lectureService, IStudentClassService studentClassService, ILectureFactory lectureFactory, IDateParser dateParser) : base(view) { Validator.ValidateForNull(teacherService, "teacherService"); Validator.ValidateForNull(lectureService, "lectureService"); Validator.ValidateForNull(studentClassService, "studentClassService"); Validator.ValidateForNull(lectureFactory, "lectureFactory"); Validator.ValidateForNull(dateParser, "dateParser"); this.teacherService = teacherService; this.lectureService = lectureService; this.studentClassService = studentClassService; this.lectureFactory = lectureFactory; this.dateParser = dateParser; this.View.PageLoad += View_PageLoad; this.View.AddLectureClick += View_AddLectureClick; }
public StudentClassController(IStudentClassService studentClassService) { _studentClassService = studentClassService; }
public StudentService() { _studentService = new MVCStudentClassAssignment.DAL.StudentService(); _studentClassService = new StudentClassService(); }
public StudentClassController(IStudentClassService studentClassService, IDepartmentService departmentService) { _studentClassService = studentClassService; _departmentService = departmentService; }
public StudentService() { studentClassService = new StudentClassService(); }