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