public string Add(JObject pagerParas) { var id = HttpContext.Current.Request.QueryString["id"]; //var form = HttpContext.Current.Request.Form; NoticeBLL noticeBll = new NoticeBLL(); if (id != null && Int32.Parse(id) > 0) { noticeBll.Updata(pagerParas, Int32.Parse(id)); } else { pagerParas.Remove("ID"); noticeBll.Add(pagerParas); } return("1"); }