Beispiel #1
0
        public ActionResult DelAud(int?id)
        {
            id = id ?? 0;

            string error  = "";
            int    result = service.DeleteAuditArticle(id.Value, out error);

            //int result = -1;
            //error = "错误测试";
            //System.Threading.Thread.Sleep(3000);
            return(Json(new { state = result, error = error }));
        }