public void Post([FromBody] SaveArticleTextByGuid content) { ArticleItem item = _sitecoreMasterService.GetItem <ArticleItem>(content.ArticleGuid); _sitecoreSaverUtil.SaveArticleDetailsAndText(item, content.WordText, content.ArticleData); }
public void Post([FromBody] SaveArticleText content) { ArticleItem article = _articleUtil.GetArticleByNumber(content.ArticleNumber); _sitecoreSaverUtil.SaveArticleDetailsAndText(article, content.WordText, content.ArticleData); }