Exemplo n.º 1
0
        public JsonResult CodeTypeDelete(string codetype)
        {
            var item = COD.FindItemByParam <CodeTypeItem>(new DbParam().Add("CodeType", codetype), "*");

            COD.Delete(item);
            return(Json(new { result = "success" }, JsonRequestBehavior.AllowGet));
        }
Exemplo n.º 2
0
 public JsonResult AccountDelete(int id)
 {
     COD.Delete <AccountItem>(id);
     return(Json(new { result = "success" }, JsonRequestBehavior.AllowGet));
 }