Esempio n. 1
0
 public async Task <Article> SaveArticle(Article pArticle)
 {
     if (pArticle.Id == Guid.Empty)
     {
         return(await mAsyncCLient.AddArticleAsync(pArticle));
     }
     return(await mAsyncCLient.EditArticleAsync(pArticle));
 }
Esempio n. 2
0
 public Article EditArticle(Article pArticle) => mBlue10Async.EditArticleAsync(pArticle).Sync();