public StatisticsService(QuizerContext context, Auth0ManagementFactory auth0ManagementFactory) : base(context) { _auth0UsersService = new Auth0UsersService(auth0ManagementFactory); _quizzesRepository = new QuizzesRepository(context); _quizAccessesRepository = new QuizAccessesRepository(context); _solvedQuizRepository = new SolvedQuizRepository(context); _learningQuizzesRepository = new LearningQuizzesRepository(context); _quizSessionsRepository = new QuizSessionsRepository(context); }
public UsersService(QuizerContext context) : base(context) { _anonymousUsersRepository = new AnonymousUsersRepository(context); _userSettingsRepository = new UserSettingsRepository(context); _quizAccessesRepository = new QuizAccessesRepository(context); _learningQuizzesRepository = new LearningQuizzesRepository(context); _solvedQuizRepository = new SolvedQuizRepository(context); _quizzesRepository = new QuizzesRepository(context); }
public LearningQuizzesService( QuizerContext context, Auth0ManagementFactory auth0ManagementFactory ) : base(context) { _quizzesRepository = new QuizzesRepository(context); _quizAccessesRepository = new QuizAccessesRepository(context); _questionsRepository = new QuestionsRepository(context); _answersRepository = new AnswersRepository(context); _learningQuizzesRepository = new LearningQuizzesRepository(context); _learningQuizQuestionsRepository = new LearningQuizQuestionsRepository(context); _userSettingsRepository = new UserSettingsRepository(context); _auth0UsersService = new Auth0UsersService(auth0ManagementFactory); }