Пример #1
0
        public static void ArticleAdd()
        {
            ArticleArgs item = (ArticleArgs)PSCDialog.DataShare;

            ArticleList.AddDB(item.Article);
            item.Article.UpdateDescription(item.Description);
            item.Article.UpdateContent(item.Content);
            //item.Article.UpdateAvatar(item.Avatar);
            //item.Article.UpdateImagePortlet();
            item.Article.UpdateImage();
            if (item.Article.ArticleHangDate != null)
            {
                item.Article.UpdateArticleHang(item.Article.ArticleHangDate);
            }
        }