async Task <bool> WaitDataUserAsync() { Console.WriteLine("WaitHistorialEstadoCuenta Method..."); try { Service.Service serv = new Service.Service(); REstado rEstado = await serv.EstadoCuentaAsync("1", "0", CurrentSession.identificador); if (rEstado.codigo == 1000) { Console.WriteLine("Session data ready!"); Console.WriteLine("Nombre De cliente: " + CurrentSession.nombre_completo); nombreSession.Text = CurrentSession.nombre_completo; numeroSession.Text = CurrentSession.no_telefono; return(true); } else { alert.Title = "Error de Red"; alert.Message = "Verifique su conexión a internet"; alert.AddButton("OK"); alert.Show(); Console.WriteLine("Session data error!"); return(false); } } catch { alert.Title = "Error de Red"; alert.Message = "Verifique su conexión a internet"; alert.AddButton("OK"); alert.Show(); Console.WriteLine("Session data error!"); } return(false); }