private async Task InitClass() { lstPages = await MasterPageItem.GetPages(); IsBusy = true; lstOriginalVehiculos = await CarModel.GetCars(); lstVehiculos = new ObservableCollection <CarModel>(lstOriginalVehiculos); if (UserSystem.CountUserSystem() > 0) { UserSystem usuario = UserSystem.GetUserRealm(); LoginViewModel loginViewModel = new LoginViewModel(); loginViewModel.User = usuario.Email; loginViewModel.Password = usuario.Pass; loginViewModel.Recordar = false; loginViewModel.Login(); } IsBusy = false; }