Esempio n. 1
0
 public QuizController(CourseManager courseManager)
 {
     this.courseManager = courseManager;
     userQuizzesRepo    = new UserQuizzesRepo(db);
     visitsRepo         = new VisitsRepo(db);
     quizzesRepo        = new QuizzesRepo(db);
     groupsRepo         = new GroupsRepo(db);
     slideCheckingsRepo = new SlideCheckingsRepo(db);
 }
Esempio n. 2
0
        public QuizController()
        {
            metricSender = new GraphiteMetricSender("web");

            userQuizzesRepo    = new UserQuizzesRepo(db);
            visitsRepo         = new VisitsRepo(db);
            quizzesRepo        = new QuizzesRepo(db);
            groupsRepo         = new GroupsRepo(db, courseManager);
            slideCheckingsRepo = new SlideCheckingsRepo(db);
            notificationsRepo  = new NotificationsRepo(db);
        }