private void GetConcert() { var reqGet = new HttpRequestGet(); ValidateKey.CheckValidateKey(); ListConcerts = new ObservableCollection<Concerts>(); var listConcerts = reqGet.GetListObjectSecure(new List<Concerts>(), "concerts", Singleton.Singleton.Instance().SecureKey, Singleton.Singleton.Instance().CurrentUser.id.ToString()); listConcerts.ContinueWith(delegate(Task<object> tmp) { var test = tmp.Result as List<Concerts>; if (test != null) { foreach (var item in test) { CoreApplication.MainView.CoreWindow.Dispatcher.RunAsync(CoreDispatcherPriority.Normal, () => { ListConcerts.Add(item); }); } } }); }