private void GetModuleListJson(object sender, BLL.ActionEventArgs e) { if (e.action == "getModule") { string json = ModuleBLL.GetModuleListJson(0); e.context.Response.Write(json); } }
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); } }