Основа для ASP-сайта для просмотра сущностей

This commit is contained in:
2025-10-02 13:04:30 +04:00
parent 781546b84c
commit d23d81fb53
107 changed files with 83814 additions and 97 deletions
+32
View File
@@ -0,0 +1,32 @@
@page
@model IndexModel
@{
ViewData["Title"] = "Home page";
}
<div class="text-center">
<h1 class="display-4">Welcome</h1>
<p>Learn about <a href="https://learn.microsoft.com/aspnet/core">building Web apps with ASP.NET Core</a>.</p>
</div>
<table>
<thead>
<tr>
<td>Type</td>
<td>Rows</td>
</tr>
</thead>
<tbody>
@foreach (var row in Model.Data)
{
<tr>
<td>
<a asp-page="./EntityType" asp-route-type="@row.Key">
@row.Key
</a>
</td>
<td>@row.Value</td>
</tr>
}
</tbody>
</table>