@{ ViewBag.Title = "Learning"; Layout = "~/Views/Shared/_LayoutLearning.cshtml"; } @using NEducation.NEduService; @using NEducation.Code; @using NEducation.Content.Texts; @using NEducation.Controllers; @model NEducation.Models.VocabularyModel @**@ @**@ @{ //var listCorrect = question.answerTrue.Split(','); }
15
@for (int i = 0; i < Model.questions.Count; i++) { Question question = Model.questions[i]; // multi choice var listCorrect = question.answerTrue.Split(',');

@*@NEducation.Content.Texts.Lang.QuestionBegin*@ @question.description

@{ if (question.contentType == NEducation.Controllers.UtilsController.GetContentType.AUDIO_FILE || question.contentType == NEducation.Controllers.UtilsController.GetContentType.AUDIO_LINK) {
} else if (question.contentType == UtilsController.GetContentType.VIDEO_LINK) { @**@ @**@ @*
*@ @**@ @**@ } else if (question.contentType == UtilsController.GetContentType.VIDEO_FILE) { @**@ } else if (question.contentType == UtilsController.GetContentType.TEXT_TYPE) {

@question.content

} else if (question.contentType == UtilsController.GetContentType.PICTURE_FILE) { } }
img
@for (int j = 0; j < listCorrect.Length; j++) { var correctAnswer = listCorrect[j] == "1" ? question.answer1 : listCorrect[j] == "2" ? question.answer2 : listCorrect[j] == "3" ? question.answer3 : question.answer4;

@correctAnswer n

} @*

@question.answer1 n

*@ @*

/əˈkaʊntnt/

kế toán viên

*@
}