Example #1
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);
 }
Example #2
0
 public VisitsRepo(ULearnDb db)
 {
     this.db            = db;
     slideCheckingsRepo = new SlideCheckingsRepo(db);
 }