示例#1
0
 public UserSolutionsRepo(
     UlearnDb db,
     TextsRepo textsRepo, VisitsRepo visitsRepo,
     WebCourseManager courseManager)
 {
     this.db            = db;
     this.textsRepo     = textsRepo;
     this.visitsRepo    = visitsRepo;
     this.courseManager = courseManager;
 }
示例#2
0
 public GroupsRepo(
     UlearnDb db,
     SlideCheckingsRepo slideCheckingsRepo, UserSolutionsRepo userSolutionsRepo, UserQuizzesRepo userQuizzesRepo, VisitsRepo visitsRepo, UserRolesRepo userRolesRepo,
     WebCourseManager courseManager)
 {
     this.db = db;
     this.slideCheckingsRepo = slideCheckingsRepo;
     this.userSolutionsRepo  = userSolutionsRepo;
     this.userQuizzesRepo    = userQuizzesRepo;
     this.visitsRepo         = visitsRepo;
     this.userRolesRepo      = userRolesRepo;
     this.courseManager      = courseManager;
 }
示例#3
0
 public FeedRepo(UlearnDb db)
 {
     this.db           = db;
     notificationsRepo = new NotificationsRepo(db);
     visitsRepo        = new VisitsRepo(db);
 }
示例#4
0
 public FeedRepo(UlearnDb db, NotificationsRepo notificationsRepo, VisitsRepo visitsRepo)
 {
     this.db = db ?? throw new ArgumentNullException(nameof(db));
     this.notificationsRepo = notificationsRepo ?? throw new ArgumentNullException(nameof(notificationsRepo));
     this.visitsRepo        = visitsRepo ?? throw new ArgumentNullException(nameof(visitsRepo));
 }