public void AddArticle(ArticleModel article) { ArticleData data = new ArticleData(_config); if (data.AddArticle(article)) { } else { } }
public static string AddArticle(Article artic) { ArticleData article = new ArticleData(); return(article.AddArticle(ref artic)); }
public bool AddArticle(ArticleViewModel articleVM) { return(articleData.AddArticle(articleVM)); }