Working on roles, users and create tenant

This commit is contained in:
Janus C. H. Knudsen 2025-01-14 23:10:30 +01:00
parent 269bf50c78
commit fcffb57ac6
21 changed files with 483 additions and 56 deletions

View file

@ -26,7 +26,12 @@ namespace PlanTempus
//services.AddApplicationInsightsTelemetry(ConfigurationRoot["ApplicationInsights:InstrumentationKey"]);
services.AddAntiforgery(x => x.HeaderName = "X-ANTI-FORGERY-TOKEN");
}
services.Configure<Microsoft.AspNetCore.Mvc.Razor.RazorViewEngineOptions>(options =>
{
options.ViewLocationExpanders.Add(new Application.Common.ComponentsViewLocationExpander());
});
}
public void ConfigureContainer(ContainerBuilder builder)
{
builder.RegisterModule(new Core.ModuleRegistry.DbPostgreSqlModule