示例#1
0
 public RelationshipController(ILessonRepositoryAsync lessonRepositoryAsync,
                               ITeacherRepositoryAsync teacherRepositoryAsync,
                               IStudentRepositoryAsync studentRepositoryAsync,
                               IRelationshipRepositoryAsync relationshipRepositoryAsync)
 {
     _lessonRepositoryAsync       = lessonRepositoryAsync;
     _teacherRepositoryAsync      = teacherRepositoryAsync;
     _studentRepositoryAsync      = studentRepositoryAsync;
     _relationshipRepositoryAsync = relationshipRepositoryAsync;
 }
示例#2
0
 public LessonSectionController(ILessonRepositoryAsync lessonRepositoryAsync, IRepositoryAsync <LessonSection> sectionRepositoryAsync)
 {
     _lessonRepositoryAsync  = lessonRepositoryAsync;
     _sectionRepositoryAsync = sectionRepositoryAsync;
 }
示例#3
0
 public AssignmentController(ILessonRepositoryAsync lessonRepositoryAsync, IRepositoryAsync <Assignment> assignmentRepositoryAsync)
 {
     _lessonRepositoryAsync     = lessonRepositoryAsync;
     _assignmentRepositoryAsync = assignmentRepositoryAsync;
 }