예제 #1
0
        public QuizRepository()
        {
            var flagRepository = new FlagRepository();

            _questionRepository = new QuestionRepository(flagRepository);
            _quiz = InitializeQuiz();
        }
예제 #2
0
 public QuestionRepository(FlagRepository flagRepository)
 {
     _flagRepository = flagRepository;
     _questions      = InitializeQuestion();
 }