Exemplo n.º 1
0
        public async void DeleteNote()
        {

            DialogService dialog = new DialogService();
            await dialog.ShowMessage("Do you really want to delete the selected note?", "Delete selected note!", "YES, delete", "NO, let me return",
                async confirmed =>
                {
                    if (confirmed)
                    {
                        await dataService.DeleteNote(SelectedNote);
                    }

                });
        }