|
@@ -980,7 +980,7 @@ namespace Hotline.Application.Exam.Service.Questions
|
|
|
|
|
|
var questionAnswerDto = _mapper.Map<QuestionAnswerDto>(questionAnswer);
|
|
var questionAnswerDto = _mapper.Map<QuestionAnswerDto>(questionAnswer);
|
|
|
|
|
|
- return questionAnswerDto;
|
|
|
|
|
|
+ return questionAnswerDto ?? new QuestionAnswerDto();
|
|
}
|
|
}
|
|
|
|
|
|
private async Task<List<QuestionTagDto>> GetQuestionTags(EntityQueryRequest entityQueryRequest)
|
|
private async Task<List<QuestionTagDto>> GetQuestionTags(EntityQueryRequest entityQueryRequest)
|