public ActionResult DeleteTagAction(string id) { return(RunActionWhenLogin((loginuser) => { var res = _TagBll.DeleteTag(id); return GetJsonRes(res); })); }
public ActionResult DeleteTagAction(int?id) { return(RunActionWhenLogin((loginuser) => { id = id ?? 0; if (id <= 0) { return GetJsonRes("参数错误"); } var res = _TagBll.DeleteTag(id.Value); return GetJsonRes(res); }, PermissionList: null)); }