Beispiel #1
0
 public NotificationsRepo(ULearnDb db)
 {
     this.db       = db;
     unitsRepo     = new UnitsRepo(db);
     userRolesRepo = new UserRolesRepo(db);
     usersRepo     = new UsersRepo(db);
     courseManager = WebCourseManager.Instance;
 }
Beispiel #2
0
 public GroupsRepo(ULearnDb db, CourseManager courseManager)
 {
     this.db            = db;
     this.courseManager = courseManager;
     slideCheckingsRepo = new SlideCheckingsRepo(db);
     userSolutionsRepo  = new UserSolutionsRepo(db, courseManager);
     userQuizzesRepo    = new UserQuizzesRepo(db);
     visitsRepo         = new VisitsRepo(db);
     userRolesRepo      = new UserRolesRepo(db);
 }
Beispiel #3
0
 public UsersRepo(ULearnDb db)
 {
     this.db       = db;
     userRolesRepo = new UserRolesRepo(db);
 }