コード例 #1
0
ファイル: GetMenu.ashx.cs プロジェクト: Zane0816/5577yx
 public void GetRootMenu(HttpContext context)
 {
     List<Menu> list = new RoleCompetenceManager().GetAllMenu(2);
     string strTxt = Json.ListToJson(list);
     context.Response.Write(strTxt);
 }
コード例 #2
0
ファイル: GetMenu.ashx.cs プロジェクト: Zane0816/5577yx
 public void GetCompetence(HttpContext context)
 {
     List<Competence> List = new RoleCompetenceManager().GetAllCompetence();
     string StrTxt = Json.ListToJson(List);
     context.Response.Write(StrTxt);
 }