Пример #1
0
        public ActiveQuizController CreateActiveQuizzController()
        {
            var c = new ActiveQuizController(
                _mockRepo.QuizService,
                _mockRepo.QuizResultService,
                _mockRepo.AnswerService,
                _mockRepo.QuestionService);

            return(c);
        }
Пример #2
0
        public ActiveQuizController CreateActiveQuizzController()
        {
            var c = new ActiveQuizController(
                _mockRepo.QuizService,
                _mockRepo.QuizResultService,
                _mockRepo.UserActivityService,
                _mockRepo.ModelConverter,
                _mockRepo.ViewModelConverter);

            MockUser(c);

            return(c);
        }