private void UpdateConta() { if (Senha == oldSenha) { try { StatusRequisicao msg = Service.Service.UpdateClienteService(User); conexao.UpdateUsuario(User); } catch { App.Current.MainPage.DisplayAlert("Aviso", "Erro", "OK"); } } else { App.Current.MainPage.DisplayAlert("Alerta", "Senha Incorreta", "OK"); } }