Beispiel #1
0
        /// <summary>
        /// method to add an article
        /// </summary>
        /// <param name="viewArticle">article</param>
        public void AddArticle(ViewArticle viewArticle)
        {
            var article = new Article(viewArticle.name, viewArticle.date, viewArticle.content);

            articleContext.AddArticle(article);
        }