Example #1
0
 public static bool DeletingPayment(int eid)
 {
     try
     {
         var paymentBLL = new PaymentBLL();
         return(paymentBLL.DeletePayment(eid));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Example #2
0
        public dynamic DeletePayment()
        {
            int        id  = Fun.Form("id", 0);
            PaymentBLL bll = new PaymentBLL();

            if (!bll.DeletePayment(id))
            {
                return("失败");
            }
            else
            {
                return("成功");
            }
        }