Esempio n. 1
0
        private async Task CompleteDonationAsync(int donationId)
        {
            var res = await donationRepository.CompleteDonationAsync(donationId);

            if (res)
            {
                MessagingCenter.Send(this, "StatusChanged", Item);
                await Page.Navigation.PopAsync();
            }
            else
            {
                ShowFailureDialog("Unable to Complete Donation");
            }
        }
Esempio n. 2
0
        private async Task CompleteDonationAsync(int donationId)
        {
            await donationRepository.CompleteDonationAsync(donationId);

            await Page.Navigation.PopAsync();
        }