Exemplo n.º 1
0
 public RelationshipController(ILessonRepositoryAsync lessonRepositoryAsync,
                               ITeacherRepositoryAsync teacherRepositoryAsync,
                               IStudentRepositoryAsync studentRepositoryAsync,
                               IRelationshipRepositoryAsync relationshipRepositoryAsync)
 {
     _lessonRepositoryAsync       = lessonRepositoryAsync;
     _teacherRepositoryAsync      = teacherRepositoryAsync;
     _studentRepositoryAsync      = studentRepositoryAsync;
     _relationshipRepositoryAsync = relationshipRepositoryAsync;
 }
Exemplo n.º 2
0
 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;
 }
Exemplo n.º 3
0
 public TeacherController(ITeacherRepositoryAsync teacherRepositoryAsync)
 {
     _teacherRepositoryAsync = teacherRepositoryAsync;
 }
Exemplo n.º 4
0
 public StudentController(IStudentRepositoryAsync studentRepositoryAsync, ITeacherRepositoryAsync teacherRepositoryAsync, IRelationshipRepositoryAsync relationshipRepositoryAsync)
 {
     _studentRepositoryAsync      = studentRepositoryAsync;
     _teacherRepositoryAsync      = teacherRepositoryAsync;
     _relationshipRepositoryAsync = relationshipRepositoryAsync;
 }