예제 #1
0
        /// <summary>
        /// 删除操作
        /// </summary>
        /// <param name="id">删除ID</param>
        /// <returns></returns>
        private string DeleteData(string id)
        {
            int b = 0;

            if (!String.IsNullOrEmpty(id))
            {
                EyouSoft.BLL.SourceStructure.BSource bll = new EyouSoft.BLL.SourceStructure.BSource();
                b = bll.DeleteRouteModel(id.Split(','));
            }
            return(b == 1 ? UtilsCommons.AjaxReturnJson("1", "删除成功!") : UtilsCommons.AjaxReturnJson("0", "删除失败!"));
        }