コード例 #1
0
        /// <summary>
        /// 删除记录
        /// </summary>
        /// <returns></returns>
        public ActionResult DeleteNewInfo()
        {
            int id = int.Parse(Request["id"]);
            var r  = NewInfoBll.DeleteNewInfo(id);

            if (r)
            {
                return(Content("ok"));
            }
            else
            {
                return(Content("no"));
            }
        }