Пример #1
0
        public JsonResult Delete(int id)
        {
            var result = OrganizeService.DeleteById(id) ? SuccessTip("删除成功") : ErrorTip("删除失败");

            return(Json(result, JsonRequestBehavior.AllowGet));
        }
Пример #2
0
        public JsonResult Delete(int id)
        {
            var result = OrganizeService.DeleteById(id) ? SuccessTip("删除成功") : ErrorTip("删除失败");

            return(Json(result));
        }