@model TightWiki.Models.ViewModels.Admin.RolesViewModel
@using TightWiki.Library
@using TightWiki.Models
@{
Layout = "/Views/Shared/_Layout.cshtml";
var sessionState = ViewData["SessionState"] as TightWiki.SessionState ?? throw new Exception("Wiki State Context cannot be null.");
}
角色
@if (!string.IsNullOrEmpty(Model.ErrorMessage))
{
@Html.Raw(Model.ErrorMessage)
}
@if (!string.IsNullOrEmpty(Model.SuccessMessage))
{
@Html.Raw(Model.SuccessMessage)
}
@using (Html.BeginForm(null, null, FormMethod.Post, new { action = $"{GlobalConfiguration.BasePath}{Context.Request.Path}" }))
{
@Html.AntiForgeryToken()
@if (Model.Roles.Count > 0)
{
}
else
{
暂无数据
}
}