public UserSolutionsRepo( UlearnDb db, TextsRepo textsRepo, VisitsRepo visitsRepo, WebCourseManager courseManager) { this.db = db; this.textsRepo = textsRepo; this.visitsRepo = visitsRepo; this.courseManager = courseManager; }
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; }
public FeedRepo(UlearnDb db) { this.db = db; notificationsRepo = new NotificationsRepo(db); visitsRepo = new VisitsRepo(db); }
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)); }