示例#1
0
 public RelationshipController(ILessonRepositoryAsync lessonRepositoryAsync,
                               ITeacherRepositoryAsync teacherRepositoryAsync,
                               IStudentRepositoryAsync studentRepositoryAsync,
                               IRelationshipRepositoryAsync relationshipRepositoryAsync)
 {
     _lessonRepositoryAsync       = lessonRepositoryAsync;
     _teacherRepositoryAsync      = teacherRepositoryAsync;
     _studentRepositoryAsync      = studentRepositoryAsync;
     _relationshipRepositoryAsync = relationshipRepositoryAsync;
 }
示例#2
0
 public StudentController(IStudentRepositoryAsync studentRepositoryAsync, ITeacherRepositoryAsync teacherRepositoryAsync, IRelationshipRepositoryAsync relationshipRepositoryAsync)
 {
     _studentRepositoryAsync      = studentRepositoryAsync;
     _teacherRepositoryAsync      = teacherRepositoryAsync;
     _relationshipRepositoryAsync = relationshipRepositoryAsync;
 }