public QuizUserControlViewModel(IQuizApplicationService quizApplicationService)
        {
            this.quizApplicationService = quizApplicationService;

            StartQuizCommand = new DelegateCommand(StartQuiz);

            SelectChoiceCommand = new DelegateCommand(SelectChoice);

            AnswerCommand = new DelegateCommand(Answer);
        }
Beispiel #2
0
 public QuizController(IQuizApplicationService quizApplicationService)
 {
     this.quizApplicationService = quizApplicationService;
 }