コード例 #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));
        }
コード例 #2
0
 public JsonResult AccountDelete(int id)
 {
     COD.Delete <AccountItem>(id);
     return(Json(new { result = "success" }, JsonRequestBehavior.AllowGet));
 }