feat: WebAppUserRepository und WebAppUserHelper als Scoped-Dienste zur Service-Collection hinzugefügt
This commit is contained in:
@@ -16,6 +16,7 @@ using System.Reflection;
|
||||
using HRD.LDAPService.JWT;
|
||||
using HRD.WebApi.DAL.Middleware;
|
||||
using HRD.WebApi.Helpers;
|
||||
using StaffDBServer.SharedControllers;
|
||||
|
||||
AppDomain.CurrentDomain.UnhandledException += (object sender, UnhandledExceptionEventArgs unhandledExceptionEventArgs) =>
|
||||
{
|
||||
@@ -54,6 +55,8 @@ try
|
||||
});
|
||||
|
||||
builder.Services.AddStaffDBRepositories();
|
||||
builder.Services.AddScoped<WebAppUserHelper>();
|
||||
|
||||
builder.Services.ConfigureWebApiExtensionsEnd(); // should come last
|
||||
|
||||
var app = builder.Build();
|
||||
|
||||
Reference in New Issue
Block a user