Esempio n. 1
0
 public CommentsController(ILogger logger, IWebCourseManager courseManager, UlearnDb db,
                           ICommentsRepo commentsRepo, ICommentLikesRepo commentLikesRepo, ICommentPoliciesRepo commentPoliciesRepo,
                           IUsersRepo usersRepo, ICoursesRepo coursesRepo, ICourseRolesRepo courseRolesRepo, INotificationsRepo notificationsRepo,
                           IGroupMembersRepo groupMembersRepo, IGroupAccessesRepo groupAccessesRepo)
     : base(logger, courseManager, db, usersRepo, commentsRepo, commentLikesRepo, coursesRepo, courseRolesRepo, notificationsRepo, groupMembersRepo, groupAccessesRepo)
 {
     this.commentPoliciesRepo = commentPoliciesRepo;
 }
Esempio n. 2
0
 public GroupsController(IWebCourseManager courseManager, UlearnDb db,
                         IUsersRepo usersRepo,
                         IGroupsRepo groupsRepo, IGroupAccessesRepo groupAccessesRepo, IGroupMembersRepo groupMembersRepo)
     : base(courseManager, db, usersRepo)
 {
     this.groupsRepo        = groupsRepo;
     this.groupAccessesRepo = groupAccessesRepo;
     this.groupMembersRepo  = groupMembersRepo;
 }
 public FlashcardUserStatisticsController(IWebCourseManager courseManager, UlearnDb db,
                                          IUsersRepo usersRepo, IGroupAccessesRepo groupAccessesRepo, IUsersFlashcardsVisitsRepo usersFlashcardsVisitsRepo,
                                          IUnitsRepo unitsRepo)
     : base(courseManager, db, usersRepo)
 {
     this.groupAccessesRepo         = groupAccessesRepo;
     this.usersFlashcardsVisitsRepo = usersFlashcardsVisitsRepo;
     this.unitsRepo = unitsRepo;
 }
Esempio n. 4
0
 public FlashcardsController(ILogger logger, IWebCourseManager courseManager, UlearnDb db, IUsersRepo usersRepo,
                             IUsersFlashcardsVisitsRepo usersFlashcardsVisitsRepo,
                             IUserFlashcardsUnlockingRepo userFlashcardsUnlockingRepo,
                             ICourseRolesRepo courseRolesRepo, IGroupAccessesRepo groupAccessesRepo)
     : base(logger, courseManager, db, usersRepo)
 {
     this.usersFlashcardsVisitsRepo   = usersFlashcardsVisitsRepo;
     this.userFlashcardsUnlockingRepo = userFlashcardsUnlockingRepo;
     this.courseRolesRepo             = courseRolesRepo;
     this.groupAccessesRepo           = groupAccessesRepo;
 }
Esempio n. 5
0
 public GroupController(ILogger logger, WebCourseManager courseManager, UlearnDb db,
                        IGroupsRepo groupsRepo, IGroupAccessesRepo groupAccessesRepo, IGroupMembersRepo groupMembersRepo, IUsersRepo usersRepo, ICourseRolesRepo courseRolesRepo, INotificationsRepo notificationsRepo,
                        IGroupsCreatorAndCopier groupsCreatorAndCopier)
     : base(logger, courseManager, db, usersRepo)
 {
     this.groupsRepo             = groupsRepo;
     this.groupAccessesRepo      = groupAccessesRepo;
     this.groupMembersRepo       = groupMembersRepo;
     this.courseRolesRepo        = courseRolesRepo;
     this.notificationsRepo      = notificationsRepo;
     this.groupsCreatorAndCopier = groupsCreatorAndCopier;
 }
Esempio n. 6
0
 public BaseCommentController(IWebCourseManager courseManager, UlearnDb db, IUsersRepo usersRepo,
                              ICommentsRepo commentsRepo, ICommentLikesRepo commentLikesRepo, ICoursesRepo coursesRepo, ICourseRolesRepo courseRolesRepo,
                              INotificationsRepo notificationsRepo, IGroupMembersRepo groupMembersRepo, IGroupAccessesRepo groupAccessesRepo)
     : base(courseManager, db, usersRepo)
 {
     this.commentsRepo      = commentsRepo;
     this.commentLikesRepo  = commentLikesRepo;
     this.coursesRepo       = coursesRepo;
     this.courseRolesRepo   = courseRolesRepo;
     this.notificationsRepo = notificationsRepo;
     this.groupMembersRepo  = groupMembersRepo;
     this.groupAccessesRepo = groupAccessesRepo;
 }
Esempio n. 7
0
 public UserProgressController(IWebCourseManager courseManager, UlearnDb db, IUsersRepo usersRepo,
                               IVisitsRepo visitsRepo, IUserQuizzesRepo userQuizzesRepo, IAdditionalScoresRepo additionalScoresRepo,
                               ICourseRolesRepo courseRolesRepo, IGroupAccessesRepo groupAccessesRepo, IGroupMembersRepo groupMembersRepo,
                               ISlideCheckingsRepo slideCheckingsRepo)
     : base(courseManager, db, usersRepo)
 {
     this.visitsRepo           = visitsRepo;
     this.userQuizzesRepo      = userQuizzesRepo;
     this.additionalScoresRepo = additionalScoresRepo;
     this.courseRolesRepo      = courseRolesRepo;
     this.groupAccessesRepo    = groupAccessesRepo;
     this.groupMembersRepo     = groupMembersRepo;
     this.slideCheckingsRepo   = slideCheckingsRepo;
 }
Esempio n. 8
0
 public GroupController(IWebCourseManager courseManager, UlearnDb db,
                        IGroupsRepo groupsRepo, IGroupAccessesRepo groupAccessesRepo, IGroupMembersRepo groupMembersRepo, IUsersRepo usersRepo, ICourseRolesRepo courseRolesRepo, INotificationsRepo notificationsRepo,
                        IGroupsCreatorAndCopier groupsCreatorAndCopier, IUnitsRepo unitsRepo, ISlideCheckingsRepo slideCheckingsRepo)
     : base(courseManager, db, usersRepo)
 {
     this.groupsRepo             = groupsRepo;
     this.groupAccessesRepo      = groupAccessesRepo;
     this.groupMembersRepo       = groupMembersRepo;
     this.courseRolesRepo        = courseRolesRepo;
     this.notificationsRepo      = notificationsRepo;
     this.groupsCreatorAndCopier = groupsCreatorAndCopier;
     this.unitsRepo          = unitsRepo;
     this.slideCheckingsRepo = slideCheckingsRepo;
 }
Esempio n. 9
0
 public CoursesController(IWebCourseManager courseManager, UlearnDb db, ICoursesRepo coursesRepo,
                          IUsersRepo usersRepo, ICourseRolesRepo courseRolesRepo, IUnitsRepo unitsRepo, IUserSolutionsRepo solutionsRepo,
                          IUserQuizzesRepo userQuizzesRepo, IVisitsRepo visitsRepo, IGroupsRepo groupsRepo, IGroupMembersRepo groupMembersRepo,
                          IGroupAccessesRepo groupAccessesRepo, SlideRenderer slideRenderer, ITempCoursesRepo tempCoursesRepo)
     : base(courseManager, db, usersRepo)
 {
     this.coursesRepo       = coursesRepo;
     this.courseRolesRepo   = courseRolesRepo;
     this.unitsRepo         = unitsRepo;
     this.solutionsRepo     = solutionsRepo;
     this.userQuizzesRepo   = userQuizzesRepo;
     this.visitsRepo        = visitsRepo;
     this.groupsRepo        = groupsRepo;
     this.groupMembersRepo  = groupMembersRepo;
     this.groupAccessesRepo = groupAccessesRepo;
     this.slideRenderer     = slideRenderer;
     this.tempCoursesRepo   = tempCoursesRepo;
 }
Esempio n. 10
0
 public AccessRestrictor(IUsersRepo usersRepo, ICourseRolesRepo courseRolesRepo, IGroupAccessesRepo groupAccessesRepo)
 {
     this.usersRepo         = usersRepo;
     this.courseRolesRepo   = courseRolesRepo;
     this.groupAccessesRepo = groupAccessesRepo;
 }
Esempio n. 11
0
 public CommentController(IWebCourseManager courseManager, UlearnDb db,
                          IUsersRepo usersRepo, ICommentsRepo commentsRepo, ICommentLikesRepo commentLikesRepo, ICoursesRepo coursesRepo, ICourseRolesRepo courseRolesRepo,
                          INotificationsRepo notificationsRepo, IGroupMembersRepo groupMembersRepo, IGroupAccessesRepo groupAccessesRepo, IVisitsRepo visitsRepo)
     : base(courseManager, db, usersRepo, commentsRepo, commentLikesRepo, coursesRepo, courseRolesRepo, notificationsRepo, groupMembersRepo, groupAccessesRepo, visitsRepo)
 {
 }
Esempio n. 12
0
 public UsersGroupsGetter(UlearnDb db, IGroupAccessesRepo groupAccessesRepo)
 {
     this.db = db;
     this.groupAccessesRepo = groupAccessesRepo;
 }