Exemple #1
0
 public TraineesController(UserManager <AMUser> userManager,
                           IMapper mapper, ICoursesRepository coursesRepository,
                           IScoresRepository scoresRepository, ITestsAndExamsRepository testsAndExamsRepository)
 {
     _userManager             = userManager;
     _mapper                  = mapper;
     _coursesRepository       = coursesRepository;
     _scoresRepository        = scoresRepository;
     _testsAndExamsRepository = testsAndExamsRepository;
 }
Exemple #2
0
 public FacilitatorsController(UserManager <AMUser> userManager, SignInManager <AMUser> signInManager,
                               RoleManager <IdentityRole> roleManager,
                               IMapper mapper, ICoursesRepository coursesRepository, ITestsAndExamsRepository testsAndExamsRepository,
                               IScoresRepository scoresRepository)
 {
     _userManager             = userManager;
     _signInManager           = signInManager;
     _roleManager             = roleManager;
     _mapper                  = mapper;
     _coursesRepository       = coursesRepository;
     _testsAndExamsRepository = testsAndExamsRepository;
     _scoresRepository        = scoresRepository;
 }