Exemple #1
0
        private async void DeleteMatch_Tapped(object sender, EventArgs e)
        {
            var answer = await DisplayAlert("Delete event", "Do you want to delete event?", "yes", "cancel");

            if (answer)
            {
                await Navigation.PopAsync(false);

                await _viewModel.DeleteEventOfMatchAsync(_eventOfMatch, _selectedMatch);
            }
        }