From c66efdadfa33cccb5b4ad2041af618827dbfc5a1 Mon Sep 17 00:00:00 2001 From: Dev Date: Thu, 2 Apr 2026 12:45:59 +0200 Subject: [PATCH] fix(01-08): register ProfileRepository and SettingsRepository in DI container --- SharepointToolbox/App.xaml.cs | 3 +++ 1 file changed, 3 insertions(+) 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();