mirror of
https://github.com/DrMboga/WotBlitzStatisticsBlazor.git
synced 2026-10-21 10:27:18 +02:00
chore: migration to net 6 DI Service provider scope changed
This commit is contained in:
1 parent
e7eaeca8e3
commit
227ddcba0c
1 file changed
+1
-1
@@ -80,7 +80,7 @@ namespace WotBlitzStatisticsPro.Logic
|
||||
services.AddTransient<ReadTankHistoryFromDbOperation>();
|
||||
services.AddTransient<FillTankHistoryResponseOperation>();
|
||||
|
||||
services.AddTransient<IOperationFactory>(serviceProvider =>
|
||||
services.AddSingleton<IOperationFactory>(serviceProvider =>
|
||||
new ServiceProviderOperationFactory(serviceProvider));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user