Exemplo n.º 1
0
        public async Task DeleteRecurringPayment(int id)
        {
            var payments = await savePaymentDbAccess.GetPaymentsForRecurring(id);

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

            await savePaymentDbAccess.DeleteRecurringPayment(id);
        }
Exemplo n.º 2
0
 public async Task DeleteRecurringPayment(int id)
 {
     await savePaymentDbAccess.DeleteRecurringPayment(id)
     .ConfigureAwait(false);
 }