async Task ExcluirJogo() { if (IsBusy || _Jogo == null) { return; } IsBusy = true; try { if (JogoDAO.Deletar(_Jogo)) { await Application.Current.MainPage.DisplayAlert("SUCESSO", "Jogo excluído com sucesso!", "Ok"); await Shell.Current.Navigation.PopModalAsync(); } else { await Application.Current.MainPage.DisplayAlert("ATENÇÃO", "Não foi possível excluir o Jogo!", "Ok"); } } catch (Exception e) { Debug.Write(e); } IsBusy = false; }