private async void ValidateLogin() { Classes.Response responseAutentication = await apiService.Autenticate <Classes.Response>("/application", "/login", Login); if (responseAutentication.IsSuccess) { MetricsManager.TrackEvent("Lógin exitoso"); Prospect.GetProspects(responseAutentication.Result as Autorization); if (SaveData) { SaveCredentials(Login); } } else { await dialogService.ShowMessage("Error", "Invalid data."); } }