diff --git a/SteUp.Maui/Core/CoreModule.cs b/SteUp.Maui/Core/CoreModule.cs index 0aa1b71..1c1fe77 100644 --- a/SteUp.Maui/Core/CoreModule.cs +++ b/SteUp.Maui/Core/CoreModule.cs @@ -2,6 +2,8 @@ using SteUp.Maui.Core.Services; using SteUp.Maui.Core.System; using SteUp.Maui.Core.System.Network; +using SteUp.Shared.Core.Data; +using SteUp.Shared.Core.Data.Contracts; using SteUp.Shared.Core.Interface; using SteUp.Shared.Core.Interface.IntegryApi; using SteUp.Shared.Core.Interface.System; @@ -16,11 +18,14 @@ public static class CoreModule { builder.Services.AddSingleton(); builder.Services.AddSingleton(); + + builder.Services.AddScoped(); } public static void RegisterIntegryServices(this MauiAppBuilder builder) { builder.Services.AddScoped(); + builder.Services.AddScoped(); } public static void RegisterSystemService(this MauiAppBuilder builder) diff --git a/SteUp.Maui/wwwroot/index.html b/SteUp.Maui/wwwroot/index.html index af42dc4..eb4f6e1 100644 --- a/SteUp.Maui/wwwroot/index.html +++ b/SteUp.Maui/wwwroot/index.html @@ -20,6 +20,7 @@ + diff --git a/SteUp.Shared/Components/Layout/MainLayout.razor b/SteUp.Shared/Components/Layout/MainLayout.razor index 76ab0c2..bd0b872 100644 --- a/SteUp.Shared/Components/Layout/MainLayout.razor +++ b/SteUp.Shared/Components/Layout/MainLayout.razor @@ -1,4 +1,5 @@ @using System.Globalization +@using SteUp.Shared.Components.SingleElements @using SteUp.Shared.Core.Interface.IntegryApi @using SteUp.Shared.Core.Interface.System.Network @inherits LayoutComponentBase @@ -10,6 +11,8 @@ + +
diff --git a/SteUp.Shared/Components/Layout/NavMenu.razor b/SteUp.Shared/Components/Layout/NavMenu.razor index a71337d..c515d5a 100644 --- a/SteUp.Shared/Components/Layout/NavMenu.razor +++ b/SteUp.Shared/Components/Layout/NavMenu.razor @@ -1,5 +1,6 @@ @using SteUp.Shared.Core.Interface.System.Network @inject INetworkService NetworkService +@inject IDialogService Dialog