diff --git a/SharepointToolbox/App.xaml.cs b/SharepointToolbox/App.xaml.cs index 1e6d042..fed3a2f 100644 --- a/SharepointToolbox/App.xaml.cs +++ b/SharepointToolbox/App.xaml.cs @@ -5,6 +5,7 @@ using Microsoft.Extensions.Logging; using Serilog; using SharepointToolbox.Infrastructure.Auth; using SharepointToolbox.Infrastructure.Logging; +using SharepointToolbox.Infrastructure.Persistence; using SharepointToolbox.Services; using SharepointToolbox.ViewModels; using SharepointToolbox.ViewModels.Tabs; @@ -69,6 +70,8 @@ public partial class App : Application private static void RegisterServices(HostBuilderContext ctx, IServiceCollection services) { + services.AddSingleton(); + services.AddSingleton(); services.AddSingleton(); services.AddSingleton(); services.AddSingleton();