예제 #1
0
 public ActionResult DeleteTagAction(string id)
 {
     return(RunActionWhenLogin((loginuser) =>
     {
         var res = _TagBll.DeleteTag(id);
         return GetJsonRes(res);
     }));
 }
예제 #2
0
 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));
 }