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