@model List @{ var start = 0; }
@if (User.IsInRole("EditConfiguration")) { } @foreach (var item in Model) { @if (User.IsInRole("EditConfiguration")) { } }
行号 类型编辑
@(++start) @item.Id @Html.DisplayFor(o => item.Value, item.Type.ToString()) @item.Type.GetDisplayName() 编辑