コード例 #1
0
        public async Task DeleteRecurringPayment(int id)
        {
            var payments = await savePaymentDbAccess.GetPaymentsForRecurring(id);

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

            await savePaymentDbAccess.DeleteRecurringPayment(id);
        }
コード例 #2
0
 public async Task DeleteRecurringPayment(int id)
 {
     await savePaymentDbAccess.DeleteRecurringPayment(id)
     .ConfigureAwait(false);
 }