New: Report-System using globally available Interfaces.

This commit is contained in:
2026-02-12 19:01:30 +01:00
parent a94527f294
commit 28925a3cfa
21 changed files with 847 additions and 8 deletions

View File

@@ -1,7 +1,9 @@
using Microsoft.Extensions.DependencyInjection;
using System.Linq;
using Interfaces;
using Oqtane.Services;
using SZUAbsolventenverein.Module.AdminModules.Services;
using SZUAbsolventenverein.Module.ReportSystem.Services;
namespace SZUAbsolventenverein.Module.AdminModules.Startup
{
@@ -13,6 +15,15 @@ namespace SZUAbsolventenverein.Module.AdminModules.Startup
{
services.AddScoped<IAdminModulesService, AdminModulesService>();
}
if (!services.Any(s => s.ServiceType == typeof(IReportingHandler)))
{
services.AddScoped<IReportingHandler, ReportSystemReportingService>();
}
if (!services.Any(s => s.ServiceType == typeof(IReportSystemReportingService)))
{
services.AddScoped<IReportSystemReportingService, ReportSystemReportingService>();
}
}
}
}