Beispiel #1
0
 /// <summary>
 /// 根据id删除菜单
 /// </summary>
 /// <param name="httpContext"></param>
 public void DelMenu(HttpContext httpContext)
 {
     var customMenu = new Model.CustomMenu();
     var customMenuDal = new CustomMenuDal();
     var hashTable = new Hashtable();
     var id = httpContext.Request.Params["id"];
     customMenu.Id = id;
     customMenuDal.Del(customMenu);
     hashTable["isSuccess"] = true;
     hashTable["jsMethod"] = "ajax_DelMenu";
     var json = _jss.Serialize(hashTable);
     httpContext.Response.Write(json);
 }