示例#1
0
 private void GetModuleListJson(object sender, BLL.ActionEventArgs e)
 {
     if (e.action == "getModule")
     {
         string json = ModuleBLL.GetModuleListJson(0);
         e.context.Response.Write(json);
     }
 }
示例#2
0
 void GetHasPriviledge(object sender, BLL.ActionEventArgs e)
 {
     if (e.action == "getHasPriviledge")
     {
         int    roleId         = Convert.ToInt32(e.context.Request["roleId"]);
         string previledgeList = RolePreviledgeBLL.GetRolePreviledgeListByRoleId(roleId);
         e.context.Response.Write(previledgeList);
     }
 }