feature: add blazor app

This commit is contained in:
2025-04-30 00:34:47 +02:00
parent c65e6ac140
commit 57e5119985
33 changed files with 774 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
@model FahrzeugListeModel
<p>Diese Fahrzeuge befinden sich derzeit in der Datenbank:</p>
<table class="table table-hover mb-0">
<thead>
<tr>
<td>ID</td>
<td>Name</td>
<td>Type</td>
</tr>
</thead>
<tbody>
@foreach (var fahrzeug in Model.Fahrzeuge)
{
<tr>
<td>@fahrzeug.Id</td>
<td>@fahrzeug.Name</td>
<td>@fahrzeug.GetType()</td>
</tr>
}
</tbody>
</table>
<br/>
<p>
@Html.ActionLink("Neues Fahrzeug anlegen", "Einfuegen", "Fahrzeug")
</p>