Refactor HR KPI cockpit architecture

This commit is contained in:
2026-05-13 07:30:43 +02:00
parent 20be752adc
commit 1cd0ad998f
8 changed files with 1802 additions and 1557 deletions
+2
View File
@@ -4,6 +4,7 @@ using Microsoft.AspNetCore.Server.IISIntegration;
using Microsoft.EntityFrameworkCore;
using MudBlazor.Services;
using TrafagSalesExporter.Data;
using TrafagSalesExporter.Models;
using TrafagSalesExporter.Security;
using TrafagSalesExporter.Services;
using TrafagSalesExporter.Services.DataSources;
@@ -43,6 +44,7 @@ builder.Services.AddAuthorization(options =>
builder.Services.AddMudServices();
builder.Services.AddHttpClient(nameof(ExchangeRateImportService));
builder.Services.Configure<HrKpiDataSourceOptions>(builder.Configuration.GetSection(HrKpiDataSourceOptions.SectionName));
builder.Services.AddDbContextFactory<AppDbContext>(options =>
options.UseSqlite("Data Source=trafag_exporter.db;Default Timeout=60"));