Fix compiler errors
This commit is contained in:
parent
620745f506
commit
87d4a6373a
|
@ -10,7 +10,7 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Grpc.AspNetCore" Version="2.49.0-pre1" />
|
<PackageReference Include="Grpc.AspNetCore" Version="2.50.0-pre1" />
|
||||||
<PackageReference Include="Microsoft.AspNetCore.ApiAuthorization.IdentityServer" Version="6.0.8" />
|
<PackageReference Include="Microsoft.AspNetCore.ApiAuthorization.IdentityServer" Version="6.0.8" />
|
||||||
<PackageReference Include="Microsoft.AspNetCore.Authorization" Version="6.0.8" />
|
<PackageReference Include="Microsoft.AspNetCore.Authorization" Version="6.0.8" />
|
||||||
<PackageReference Include="Microsoft.AspNetCore.Authorization.Policy" Version="2.2.0" />
|
<PackageReference Include="Microsoft.AspNetCore.Authorization.Policy" Version="2.2.0" />
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Microsoft.AspNet.Mvc" Version="5.2.9" />
|
<PackageReference Include="Microsoft.AspNet.Mvc" Version="5.2.9" />
|
||||||
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="6.0.8" />
|
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="6.0.8" />
|
||||||
<PackageReference Include="Redis.OM" Version="0.2.3" />
|
|
||||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="6.0.8">
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="6.0.8">
|
||||||
<PrivateAssets>all</PrivateAssets>
|
<PrivateAssets>all</PrivateAssets>
|
||||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||||
|
@ -83,8 +82,6 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<AdditionalFiles Include="Views\Data\Banks\Index.cshtml" />
|
|
||||||
<AdditionalFiles Include="Views\Data\Currencies\Index.cshtml" />
|
|
||||||
<AdditionalFiles Include="Views\Account\Index.cshtml" />
|
<AdditionalFiles Include="Views\Account\Index.cshtml" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using CodeLiturgy.Views.Controllers;
|
using CodeLiturgy.Views.Controllers;
|
||||||
using CodeLiturgy.Views.Controllers.Data;
|
|
||||||
using CodeLiturgy.Views.Languages;
|
using CodeLiturgy.Views.Languages;
|
||||||
using Microsoft.AspNetCore.Mvc.ViewFeatures;
|
using Microsoft.AspNetCore.Mvc.ViewFeatures;
|
||||||
|
|
||||||
|
@ -20,86 +19,7 @@ internal class LayoutCache
|
||||||
RootKeyName,
|
RootKeyName,
|
||||||
RootLocation,
|
RootLocation,
|
||||||
nameof(HomeController),
|
nameof(HomeController),
|
||||||
new List<RouteRecord>()
|
new List<RouteRecord>(), ViewType.Root);
|
||||||
{
|
|
||||||
new RouteRecord(
|
|
||||||
DataKeyName,
|
|
||||||
DataLocation,
|
|
||||||
nameof(DataController),
|
|
||||||
new List<RouteRecord>()
|
|
||||||
{
|
|
||||||
new RouteRecord(
|
|
||||||
CompaniesKeyName,
|
|
||||||
CompaniesLocation,
|
|
||||||
nameof(CompaniesController),
|
|
||||||
new List<RouteRecord>()
|
|
||||||
),
|
|
||||||
new RouteRecord(
|
|
||||||
CountriesKeyName,
|
|
||||||
CountriesLocation,
|
|
||||||
nameof(CountriesController),
|
|
||||||
new List<RouteRecord>()
|
|
||||||
),
|
|
||||||
new RouteRecord(
|
|
||||||
CurrenciesKeyName,
|
|
||||||
CurrenciesLocation,
|
|
||||||
nameof(CurrenciesController),
|
|
||||||
new List<RouteRecord>()
|
|
||||||
),
|
|
||||||
new RouteRecord(
|
|
||||||
BanksKeyName,
|
|
||||||
BanksLocation,
|
|
||||||
nameof(BanksController),
|
|
||||||
new List<RouteRecord>()
|
|
||||||
),
|
|
||||||
new RouteRecord(
|
|
||||||
DataUsersKeyName,
|
|
||||||
DataUsersLocation,
|
|
||||||
nameof(DataUsersController),
|
|
||||||
new List<RouteRecord>()
|
|
||||||
),
|
|
||||||
|
|
||||||
},
|
|
||||||
ViewType.Data
|
|
||||||
),
|
|
||||||
new RouteRecord(
|
|
||||||
SystemKeyName,
|
|
||||||
SystemRouteLocation,
|
|
||||||
nameof(SystemController),
|
|
||||||
new List<RouteRecord>()
|
|
||||||
{
|
|
||||||
new RouteRecord(
|
|
||||||
RolesKeyName,
|
|
||||||
RolesLocation,
|
|
||||||
nameof(RolesController),
|
|
||||||
new List<RouteRecord>()
|
|
||||||
),
|
|
||||||
new RouteRecord(
|
|
||||||
ApplicationUsersKeyName,
|
|
||||||
ApplicationUsersLocation,
|
|
||||||
nameof(ApplicationUsersController),
|
|
||||||
new List<RouteRecord>()
|
|
||||||
),
|
|
||||||
new RouteRecord(
|
|
||||||
LogsKeyName,
|
|
||||||
LogsLocation,
|
|
||||||
nameof(LogsController),
|
|
||||||
new List<RouteRecord>()
|
|
||||||
)
|
|
||||||
},
|
|
||||||
ViewType.System
|
|
||||||
),
|
|
||||||
new RouteRecord(
|
|
||||||
AccountKeyName,
|
|
||||||
AccountRouteLocation,
|
|
||||||
nameof(AccountController),
|
|
||||||
new List<RouteRecord>()
|
|
||||||
{
|
|
||||||
new RouteRecord(ChangePasswordKeyName, ChangePasswordRouteLocation, nameof(AccountController), new List<RouteRecord>())
|
|
||||||
},
|
|
||||||
ViewType.Account
|
|
||||||
),
|
|
||||||
}, ViewType.Root);
|
|
||||||
|
|
||||||
#endregion Route Tree
|
#endregion Route Tree
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue