Ejemplo n.º 1
0
 public RelationshipController(ILessonRepositoryAsync lessonRepositoryAsync,
                               ITeacherRepositoryAsync teacherRepositoryAsync,
                               IStudentRepositoryAsync studentRepositoryAsync,
                               IRelationshipRepositoryAsync relationshipRepositoryAsync)
 {
     _lessonRepositoryAsync       = lessonRepositoryAsync;
     _teacherRepositoryAsync      = teacherRepositoryAsync;
     _studentRepositoryAsync      = studentRepositoryAsync;
     _relationshipRepositoryAsync = relationshipRepositoryAsync;
 }
Ejemplo n.º 2
0
 public StudentController(IStudentRepositoryAsync studentRepositoryAsync, ITeacherRepositoryAsync teacherRepositoryAsync, IRelationshipRepositoryAsync relationshipRepositoryAsync)
 {
     _studentRepositoryAsync      = studentRepositoryAsync;
     _teacherRepositoryAsync      = teacherRepositoryAsync;
     _relationshipRepositoryAsync = relationshipRepositoryAsync;
 }