@page @model Quizzer.Pages.StatisticsModel @Html.AntiForgeryToken() @{ ViewData["Title"] = "Quizzer"; Layout = "_Layout-teacher"; }

Statistics

@foreach (var item in Model.quizzList) { }
Class Quizz
@item.Class @item.CategoryText
@if (Model.PageStatistics != null) { @if (Model.PageStatistics.Questions.Count > 0 && Model.PageStatistics.MCList.Count > 0) {

Statistics


@for (int Qindex = 0; Qindex < Model.PageStatistics.Questions.Count; Qindex++) { @for (int Aindex = 0; Aindex < @Model.PageStatistics.Questions[Qindex].AList.Count; Aindex++) { @if (@Model.PageStatistics.Questions[Qindex].AList[Aindex].Aok) { } else { } }
Count @Model.PageStatistics.Questions[Qindex].QuestionText
@Model.PageStatistics.MCList[Qindex].Counter[Aindex]@Model.PageStatistics.Questions[Qindex].AList[Aindex].Atxt@Model.PageStatistics.Questions[Qindex].AList[Aindex].Atxt
}
} }