<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Admin.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<MVCBlogo.NET.BO.Author>>" %>
<%@ Import Namespace="Spencer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderPage" runat="server">

    <h3>管理用户</h3>
    <p>
        <%= Html.ActionLink("新建用户", "AdminAuthorCreate")%>
    </p>
   <%=Html.GridView<MVCBlogo.NET.BO.Author>(Model,new string[]{"id","username"},
                                               new GridViewOption()
                                               {
                                                    EditAction="AdminAuthorEdit",
                                                    DeleteAction ="AdminAuthorDelete",
                                                    Columns=new string[]{"编号","用户名"}
                                                })
   %>

</asp:Content>
