public RelationshipController(ILessonRepositoryAsync lessonRepositoryAsync, ITeacherRepositoryAsync teacherRepositoryAsync, IStudentRepositoryAsync studentRepositoryAsync, IRelationshipRepositoryAsync relationshipRepositoryAsync) { _lessonRepositoryAsync = lessonRepositoryAsync; _teacherRepositoryAsync = teacherRepositoryAsync; _studentRepositoryAsync = studentRepositoryAsync; _relationshipRepositoryAsync = relationshipRepositoryAsync; }
public AccountController( UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, ITeacherRepositoryAsync teacherRepositoryAsync, IRepositoryAsync <Course> courseRepositoryAsync, IEmailSender emailSender, ILogger <AccountController> logger) { _userManager = userManager; _signInManager = signInManager; _teacherRepositoryAsync = teacherRepositoryAsync; _courseRepositoryAsync = courseRepositoryAsync; _emailSender = emailSender; _logger = logger; }
public TeacherController(ITeacherRepositoryAsync teacherRepositoryAsync) { _teacherRepositoryAsync = teacherRepositoryAsync; }
public StudentController(IStudentRepositoryAsync studentRepositoryAsync, ITeacherRepositoryAsync teacherRepositoryAsync, IRelationshipRepositoryAsync relationshipRepositoryAsync) { _studentRepositoryAsync = studentRepositoryAsync; _teacherRepositoryAsync = teacherRepositoryAsync; _relationshipRepositoryAsync = relationshipRepositoryAsync; }