@{ ViewBag.Title = "Learning"; Layout = "~/Views/Shared/_LayoutLearning.cshtml"; } @using NEducation.NEduService; @using NEducation.Content.Texts; @using NEducation.Controllers @model NEducation.Models.GrammarModel
@grammar.name
@Html.Raw(grammar.introduction)
@if (grammar.listGrammarExample != null) { for (int j = 0; j < grammar.listGrammarExample.Count; j++) {EXEMPLES: @if (grammar.listGrammarExample[j].contentType == UtilsController.GetContentType.AUDIO_FILE || grammar.listGrammarExample[j].contentType == UtilsController.GetContentType.AUDIO_LINK) { }
@{ if (grammar.listGrammarExample[j].contentType == NEducation.Controllers.UtilsController.GetContentType.VIDEO_LINK) { } else if (grammar.listGrammarExample[j].contentType == NEducation.Controllers.UtilsController.GetContentType.VIDEO_FILE) { } else if (grammar.listGrammarExample[j].contentType == UtilsController.GetContentType.TEXT_TYPE) {@grammar.listGrammarExample[j].content
} else if (grammar.listGrammarExample[j].contentType == UtilsController.GetContentType.PICTURE_FILE) {@Html.Raw(grammar.listGrammarExample[j].description)
@Html.Raw(grammar.listGrammarExample[j].introduction)
@Lang.PreviousExample @Lang.AnotherExample