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

@ -0,0 +1,23 @@
using Microsoft.AspNetCore.Mvc.Razor;
namespace Application.Common
{
public class ComponentsViewLocationExpander : IViewLocationExpander
{
public void PopulateValues(ViewLocationExpanderContext context)
{
}
public IEnumerable<string> ExpandViewLocations(ViewLocationExpanderContext context, IEnumerable<string> viewLocations)
{
var componentLocations = new[]
{
"/{0}.cshtml/"
//,
//"/Components/{1}/"
};
return componentLocations.Concat(viewLocations);
}
}
}