public static bool DeletingPayment(int eid) { try { var paymentBLL = new PaymentBLL(); return(paymentBLL.DeletePayment(eid)); } catch (Exception ex) { throw ex; } }
public dynamic DeletePayment() { int id = Fun.Form("id", 0); PaymentBLL bll = new PaymentBLL(); if (!bll.DeletePayment(id)) { return("失败"); } else { return("成功"); } }