예제 #1
0
        public void Post([FromBody] SaveArticleTextByGuid content)
        {
            ArticleItem item = _sitecoreMasterService.GetItem <ArticleItem>(content.ArticleGuid);

            _sitecoreSaverUtil.SaveArticleDetailsAndText(item, content.WordText, content.ArticleData);
        }
예제 #2
0
        public void Post([FromBody] SaveArticleText content)
        {
            ArticleItem article = _articleUtil.GetArticleByNumber(content.ArticleNumber);

            _sitecoreSaverUtil.SaveArticleDetailsAndText(article, content.WordText, content.ArticleData);
        }