public RelationshipController(ILessonRepositoryAsync lessonRepositoryAsync, ITeacherRepositoryAsync teacherRepositoryAsync, IStudentRepositoryAsync studentRepositoryAsync, IRelationshipRepositoryAsync relationshipRepositoryAsync) { _lessonRepositoryAsync = lessonRepositoryAsync; _teacherRepositoryAsync = teacherRepositoryAsync; _studentRepositoryAsync = studentRepositoryAsync; _relationshipRepositoryAsync = relationshipRepositoryAsync; }
public StudentController(IStudentRepositoryAsync studentRepositoryAsync, ITeacherRepositoryAsync teacherRepositoryAsync, IRelationshipRepositoryAsync relationshipRepositoryAsync) { _studentRepositoryAsync = studentRepositoryAsync; _teacherRepositoryAsync = teacherRepositoryAsync; _relationshipRepositoryAsync = relationshipRepositoryAsync; }