private async void listQuestion_SelectionChanged(object sender, SelectionChangedEventArgs e) { var content = await CoreMethod.GetArticle(Convert.ToInt32((e.AddedItems[0] as OneQuestion).Id)); if (content.Status == "OK") { new DetailContentWindow(content.Data as DetailContent, "One · 问题").Show(); } }
public async Task <ModelBase> Get(int id) { return(await CoreMethod.GetArticle(id)); }