public ActionResult DeleteForm(string keyValue)
 {
     try
     {
         bool i = false;
         i = roleApp.Delete(keyValue);
         if (i)
         {
             return(Success("删除成功。"));
         }
         else
         {
             return(Warning());
         }
     }
     catch (Exception ex)
     {
         return(Error(ex.Message));
     }
 }
Exemple #2
0
 public ActionResult DeleteForm(string keyValue)
 {
     rolebll.Delete(keyValue);
     roleAuthorizebll.DeleteByObjectId(keyValue);
     return(Success("删除成功。"));
 }
Exemple #3
0
 public ActionResult DeleteForm(string keyValue)
 {
     rbll.Delete(keyValue);
     return(Success("删除成功。"));
 }