Exemple #1
0
        private void DelContent(HttpContext context)
        {
            string ID = context.Request.Params["ID"];

            if (!string.IsNullOrEmpty(ID))
            {
                GetDataContext1.Delete <Data.POCOS.Content>(int.Parse(ID));
            }
            context.Response.WriteJsonSuccess();
        }
Exemple #2
0
 private void DeletePage(HttpContext context)
 {
     GetDataContext1.Delete <Data.POCOS.Page>(int.Parse(p["id"]));
 }