Working on roles, users and create tenant
This commit is contained in:
parent
269bf50c78
commit
fcffb57ac6
21 changed files with 483 additions and 56 deletions
23
Application/Common/ComponentsViewLocationExpander.cs
Normal file
23
Application/Common/ComponentsViewLocationExpander.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue