added config db

This commit is contained in:
Flaminel
2025-06-13 18:12:25 +03:00
parent 0cb737a7e1
commit 9353a55cff
12 changed files with 75 additions and 49 deletions

View File

@@ -1,7 +1,5 @@
using Common.Helpers;
using Common.Helpers;
using Data.Enums;
using Infrastructure.Configuration;
using Infrastructure.Verticals.ContentBlocker;
using Infrastructure.Verticals.DownloadCleaner;
using Infrastructure.Verticals.QueueCleaner;
using Serilog;

View File

@@ -25,7 +25,7 @@ public static class ServicesDI
services
.AddSingleton<IEncryptionService, AesEncryptionService>()
.AddTransient<SensitiveDataJsonConverter>()
.AddTransient<DataContext>()
.AddTransient<EventsContext>()
.AddTransient<EventPublisher>()
.AddHostedService<EventCleanupService>()
// API services