zhaw-dnet2/Tasks/Lab10/RankingService/RankingWebApp/Views/Ranking/Index.cshtml

19 lines
284 B
Text

@using RankingService
@model List<Competitor>
<table>
<thead>
<tr>
<th>#</th>
<th>Name</th>
<th>Time</th>
</tr>
</thead>
@for (int i = 0; i < Model.Count; i++)
{
<tr>
<td>@(i + 1)</td>
<td>@Model[i].Name</td>
<td>@Model[i].Time</td>
</tr>
}
</table>