Dasboard und Workspace-Anlage
This commit is contained in:
@@ -6,6 +6,7 @@ using Microsoft.AspNetCore.Authentication.Cookies;
|
||||
using Microsoft.AspNetCore.Authentication.OpenIdConnect;
|
||||
using Microsoft.IdentityModel.Tokens;
|
||||
using DotNetEnv;
|
||||
using ZahlenAnalyse.Web.Services;
|
||||
|
||||
Env.Load();
|
||||
|
||||
@@ -23,6 +24,7 @@ var store = new DocumentStore
|
||||
};
|
||||
store.Initialize();
|
||||
builder.Services.AddSingleton<IDocumentStore>(store);
|
||||
builder.Services.AddScoped<WorkspaceService>();
|
||||
|
||||
builder.Services.AddCascadingAuthenticationState();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user