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 PaymentInformation GetPaymentInfo(string distributorID, string locale, int id) { return(PaymentInfoProvider.GetPaymentInfo(distributorID, locale, id)); }
public List <PaymentInformation> GetPaymentInfo(string distributorID, string locale) { return(PaymentInfoProvider.GetPaymentInfo(distributorID, locale)); }