private bool DoRemovePaymentAsync(string distributorID, string locale, HttpSessionState session)
        {
            var payments = PaymentInfoProvider.GetPaymentInfo(distributorID, locale);

            if (payments != null)
            {
                foreach (PaymentInformation payment in payments)
                {
                    PaymentInfoProvider.DeletePaymentInfo(payment.ID, distributorID, locale);
                }
            }
            return(true);
        }
 public int DeletePaymentInfo(int id, string distributorID, string locale)
 {
     return(PaymentInfoProvider.DeletePaymentInfo(id, distributorID, locale));
 }