コード例 #1
0
        public ActionResult DelActioninfo()
        {
            var strId = Convert.ToInt32(Request["strId"]);
            var temp  = ActionInfoService.LoadEntities(x => x.ID == strId).FirstOrDefault();

            ActionInfoService.DeleteEntity(temp);
            return(Json(new { ret = "ok" }, JsonRequestBehavior.AllowGet));
        }