Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @model ASP_Herkansing.HtmlHelpers.QuestionsListViewModel
- @{
- ViewBag.Title = "QuizStart";
- }
- <h2>QuizStart</h2>
- @foreach (var q in Model.Questions)
- {
- <div>
- <h2>@q.Title</h2>
- <h3>@q.Description</h3>
- @foreach (var a in q.Answers)
- {
- <p>@a.Description</p>
- }
- </div>
- }
- <div>
- @Html.PageLinks(Model.PagingInfo, x => Url.Action("QuizStart", new { page = x }))
- </div>
- <div>@Html.ActionLink("Submit", "Results")</div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement