Example #1
0
        public ArticleViewModel GetArticleByArticleId(string articleId)
        {
            var result = articleRepository.GetArticleByArticleId(articleId);

            return(AutoMapHelper.ToEntity <ArticleEntity, ArticleViewModel>(result));
        }