Convert db to EF Core; start on view page

Also returning skills with profile inquiries now, though that particular query is failing (current WIP) #2
This commit is contained in:
2021-01-06 23:18:54 -05:00
parent 97b3de1cea
commit ef12da01dc
26 changed files with 515 additions and 508 deletions

View File

@@ -0,0 +1,22 @@
@if (Errors.Count == 0)
{
@ChildContent
}
else
{
<p>The following error@(Errors.Count == 1 ? "" : "s") occurred:</p>
<ul>
@foreach (var msg in Errors)
{
<li>@msg</li>
}
</ul>
}
@code {
[Parameter]
public IList<string> Errors { get; set; } = default!;
[Parameter]
public RenderFragment ChildContent { get; set; } = default!;
}