public bool RemovePayment(int PaymentID) { PaymentData data = new PaymentData(); bool ret = false; try { ret = data.DeletePayment(PaymentID); } catch (Exception ex) { log.Write(ex.Message, "RemovePayment"); throw (ex); } finally { data = null; } return(ret); }