Add Blazor WebApp and rework data handling to utilize Entity Framework

This commit is contained in:
2025-09-11 11:49:48 -04:00
parent 5220e61c79
commit 3daa3b81b3
111 changed files with 6039 additions and 946 deletions
+5 -5
View File
@@ -1,6 +1,6 @@
@using Core.Entities
@using Core.Utility
@model CompetitiveEvent[]
@model EventDefinition[]
@{
ViewData["Title"] = "Events Page";
}
@@ -12,7 +12,7 @@
{
<div class="row">
<div class="col">
<i>Regional Event</i>
<i>Regional EventDefinition</i>
</div>
</div>
}
@@ -21,14 +21,14 @@
<h5>@evt.Name</h5>
</div>
<div class="col-2">
@if (evt.Format is EventFormat.Team)
@if (evt.EventFormat is EventFormat.Team)
{
<html><strong>@evt.Format</strong><br/>Size: <strong>@evt.TeamSize</strong></html>
<html><strong>@evt.EventFormat</strong><br/>Size: <strong>@evt.TeamSize</strong></html>
}
else
{
<html>
<strong>@evt.Format</strong>
<strong>@evt.EventFormat</strong>
</html>
}