예제 #1
0
        public async Task SetAnswers(long examinationId)
        {
            var answers = await httpRequestService.GetAnswersAsync(examinationId);

            Scripts      = answers.Where(answer => answer.Type == AnswerType.Script).ToList().AsReadOnly();
            Objections   = answers.Where(answer => answer.Type == AnswerType.Objection).ToList().AsReadOnly();
            QuickAnswers = answers.Where(answer => answer.Type == AnswerType.QuickAnswer).ToList().AsReadOnly();
        }