public async void Remover() { if (await App.Current.MainPage.DisplayAlert("Exclusão", string.Format("Deseja remover o professor {0}?", Selecionado.Nome), "Sim", "Não")) { if (await ProfessorRepositorio.DeleteProfessorSqlAzureAsync(Selecionado.Id.ToString())) { ListaProfessores.Remove(Selecionado); await Carregar(); } else { await App.Current.MainPage .DisplayAlert("Erro", "Erro ao remover professor!", "OK"); } } }