Ejemplo n.º 1
0
 public void GetRootMenu(HttpContext context)
 {
     List<Menu> list = new RoleCompetenceManager().GetAllMenu(2);
     string strTxt = Json.ListToJson(list);
     context.Response.Write(strTxt);
 }
Ejemplo n.º 2
0
 public void GetCompetence(HttpContext context)
 {
     List<Competence> List = new RoleCompetenceManager().GetAllCompetence();
     string StrTxt = Json.ListToJson(List);
     context.Response.Write(StrTxt);
 }