%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %> <%@ Import Namespace="HLWebOKBAdminPlugin.Models" %> <%@ Import Namespace="HLWebOKBAdminPlugin.OKBAdministrationService" %> Index <% Html.RenderAction("Menu", "Admin"); %> ProblemClass <% long? id = null; %> <%: Html.ActionLink("New ProblemClass", "Detail", new { id }, new { @class = "hl-button-text-plus" })%> Name Description Actions <% foreach (ProblemClass p in ((ProblemClassModel)Model).ProblemClasses) { %> <%: p.Name%> <%: p.Description %> <%: Html.ActionLink("detail", "Detail", new { p.Id }, new { @class = "hl-icon-edit" })%> <%: Html.ActionLink("delete", "Delete", new { p.Id }, new { @class = "hl-icon-delete" })%> <% } %>