コード例 #1
0
        public void AddArticle(ArticleModel article)
        {
            ArticleData data = new ArticleData(_config);

            if (data.AddArticle(article))
            {
            }
            else
            {
            }
        }
コード例 #2
0
        public static string AddArticle(Article artic)
        {
            ArticleData article = new ArticleData();

            return(article.AddArticle(ref artic));
        }
コード例 #3
0
 public bool AddArticle(ArticleViewModel articleVM)
 {
     return(articleData.AddArticle(articleVM));
 }