@* /admin/manage-roles/ *@ @using Lumina.Presentation.Web.Common.Services @using Microsoft.AspNetCore.Mvc.Localization @using Lumina.Presentation.Web.Common.Models.Authorization @{ var roles = ViewData["roles"] as RoleModel[]; var rolePermissions = ViewData["rolePermissions"] as PermissionModel[]; // generate a unique id for the scripts section of this view, so it can be dynamically loaded/unloaded by the global AJAX navigator handler var scriptId = ScriptIdentifierHelper.GenerateScriptId(); } @inject IViewLocalizer _localizer @inject IUrlService _urlService
@_localizer["SelectARole"]
@if (roles is not null) { @for (int i = 0; i < roles.Length; i++) {
@roles[i].RoleName
} }
@if (rolePermissions is not null) { @foreach (var rolePermission in rolePermissions) {
} }
@section Scripts { }