Exemple #1
0
        public JsonResult Delete(int id)
        {
            var result = ButtonService.DeleteById(id) ? SuccessTip("删除成功") : ErrorTip("删除失败");

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

            return(Json(result));
        }