Пример #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);
     }
 }