Пример #1
0
        public async Task DeleteAsync(RecurringTransaction transaction)
        {
            await Database.DeleteAsync(transaction);

            var item = Summaries.Single(s => s.Id == transaction.Id);

            Summaries.Remove(item);
            MessagingCenter.Send(this, Messages.Delete, new ModelAction <RecurringTransaction>(transaction, ActionType.Delete));
        }