private void ItemClickExecute() { var get = new HttpRequestGet(); ValidateKey.GetValideKey(); var res = get.GetSecureNews(new News(), "news", SelectedNews.id.ToString(), Singleton.Singleton.Instance().SecureKey, Singleton.Singleton.Instance().CurrentUser); res.ContinueWith(delegate(Task<object> tmp) { var news = tmp.Result as News; if (news != null) { CoreApplication.MainView.CoreWindow.Dispatcher.RunAsync(CoreDispatcherPriority.Normal, () => { news.imageNews = new BitmapImage(new Uri(UrlImage + news.attachments[0].url, UriKind.RelativeOrAbsolute)); NewsDetailViewModel.TheNews = news; GlobalMenuControl.SetChildren(new NewsDetail()); }); } }); }