feat: register fund report services in DI (Program.cs)

This commit is contained in:
2026-06-08 17:57:10 +02:00
parent 3e6c5c6dff
commit 201b3b39c4

View File

@@ -46,6 +46,12 @@ builder.Services.AddScoped<IReportOrchestrator, ReportOrchestrator>();
builder.Services.AddSingleton<IPdfCacheService, PdfCacheService>();
builder.Services.AddSingleton<CryptoHelper>();
// ── Fund/ETF report services ───────────────────────────────────────────
builder.Services.AddScoped<IFundDataService, FundDataService>();
builder.Services.AddScoped<FundAnagraficaRenderer>();
builder.Services.AddScoped<FundChartSectionRenderer>();
builder.Services.AddScoped<IFundReportOrchestrator, FundReportOrchestrator>();
var app = builder.Build();
// ── Middleware Pipeline ────────────────────────────────────────────────