Ejemplo 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));
 }
Ejemplo n.º 2
0
 public Article AddArticle(Article pArticle) => mBlue10Async.AddArticleAsync(pArticle).Sync();