Exemple #1
0
 public AccountController(ILogger logger, IOptions <WebApiConfiguration> options, WebCourseManager courseManager, UlearnDb db, UlearnUserManager userManager, SignInManager <ApplicationUser> signInManager,
                          ICourseRolesRepo courseRolesRepo, ICoursesRepo coursesRepo, IUsersRepo usersRepo, ISystemAccessesRepo systemAccessesRepo)
     : base(logger, courseManager, db, usersRepo)
 {
     this.userManager        = userManager;
     this.signInManager      = signInManager;
     this.courseRolesRepo    = courseRolesRepo;
     this.coursesRepo        = coursesRepo;
     this.systemAccessesRepo = systemAccessesRepo;
     this.configuration      = options.Value;
 }
Exemple #2
0
 public GroupAccessesRepo(
     UlearnDb db,
     IGroupsRepo groupsRepo, ISystemAccessesRepo systemAccessesRepo, ICoursesRepo coursesRepo, IGroupMembersRepo groupMembersRepo,
     IUsersRepo usersRepo,
     ICourseRolesRepo courseRolesRepo,
     IWebCourseManager courseManager
     )
 {
     this.db                 = db;
     this.groupsRepo         = groupsRepo;
     this.systemAccessesRepo = systemAccessesRepo;
     this.coursesRepo        = coursesRepo;
     this.groupMembersRepo   = groupMembersRepo;
     this.courseRolesRepo    = courseRolesRepo;
     this.usersRepo          = usersRepo;
     this.courseManager      = courseManager;
 }