예제 #1
0
 public async Task GetClientArticle(int slug)
 {
     try
     {
         articleView.GetClientArticleSuccess(await SQLiteUtils.Instance().QueryArticle(slug));
     }
     catch (Exception ex)
     {
         articleView.GetArticleFail(ex.Message);
     }
 }
예제 #2
0
 public async Task GetClientArticle(int id)
 {
     articlesView.GetClientArticleSuccess(await SQLiteUtils.Instance().QueryArticle(id));
 }