This component demonstrates fetching data from a service.
-Not implemented
\ No newline at end of file +Loading...
\ No newline at end of file diff --git a/Pages/Labs/Edit.razor b/Pages/Labs/Edit.razor new file mode 100644 index 0000000..2d5a8f2 --- /dev/null +++ b/Pages/Labs/Edit.razor @@ -0,0 +1,257 @@ +@page "/labs/add" +@page "/labs/{id:guid}" +@using Microsoft.EntityFrameworkCore +@using Microsoft.AspNetCore.Components + +Name | +Location | +
+ @lab.Name + | ++ @if (!string.IsNullOrEmpty(lab.AddressCity)) + { + @lab.AddressCity@(", ") + } + @lab.Country.Name + | +
Name | +Abbreviation | +Synonyms | +
+ @test.Name + | ++ @test.Abbreviation + | ++ @(string.Join(", ", test.Synonyms.Select(x => x.Name).ToArray())) + | +