+ +
+
+
+ +
+

Overview

+
- @foreach (var question in Model.Questions) +
+
+
+
+ +
+ ID +
+
#@Model.Id
+
+ +
+
+
+ +
+ Title +
+
@Model.Title
+
+ +
+
+
+ +
+ Description +
+
+ @if (!string.IsNullOrEmpty(Model.Description)) + { + @Html.Raw(Model.Description) + } + else + { + No description provided + } +
+
+
+
+ + +
+
+
+
+ +
+

Questions

+
+
+ @Model.Questions.Count Question@(Model.Questions.Count != 1 ? "s" : "") +
+
+ + @if (Model.Questions.Any()) + { +
+ @foreach (var question in Model.Questions.Select((q, index) => new { Question = q, Index = index })) + { +
+
+
+ ID: @question.Question.Id + @question.Question.Type +
+

+ Question @(question.Index + 1): @question.Question.Text +

+
+ +
+
+
+ +
+

+ Answers (@question.Question.Answers.Count) +

+
+ + @if (question.Question.Answers.Any()) { -