diff --git a/DbFirst.BlazorWasm/Layout/NavMenu.razor b/DbFirst.BlazorWasm/Layout/NavMenu.razor index 56037f9..7a576d8 100644 --- a/DbFirst.BlazorWasm/Layout/NavMenu.razor +++ b/DbFirst.BlazorWasm/Layout/NavMenu.razor @@ -22,7 +22,7 @@
diff --git a/DbFirst.BlazorWasm/Models/DashboardInfoDto.cs b/DbFirst.BlazorWasm/Models/DashboardInfoDto.cs new file mode 100644 index 0000000..5e209ee --- /dev/null +++ b/DbFirst.BlazorWasm/Models/DashboardInfoDto.cs @@ -0,0 +1,7 @@ +namespace DbFirst.BlazorWasm.Models; + +public class DashboardInfoDto +{ + public string Id { get; set; } = string.Empty; + public string Name { get; set; } = string.Empty; +} diff --git a/DbFirst.BlazorWasm/Pages/Dashboard.razor b/DbFirst.BlazorWasm/Pages/Dashboard.razor index 0890078..dad0efe 100644 --- a/DbFirst.BlazorWasm/Pages/Dashboard.razor +++ b/DbFirst.BlazorWasm/Pages/Dashboard.razor @@ -2,6 +2,7 @@ @page "/dashboards/{DashboardId?}" @inject Microsoft.Extensions.Configuration.IConfiguration Configuration @inject NavigationManager Navigation +@inject DashboardApiClient DashboardApi