public async Task DeleteRecurringPayment(int id)
        {
            var payments = await savePaymentDbAccess.GetPaymentsForRecurring(id);

            payments.ForEach(x => x.RemoveRecurringPayment());

            await savePaymentDbAccess.DeleteRecurringPayment(id);
        }
Beispiel #2
0
 public async Task DeleteRecurringPayment(int id)
 {
     await savePaymentDbAccess.DeleteRecurringPayment(id)
     .ConfigureAwait(false);
 }