示例#1
0
        public BlogPost GetBlogPostById(int Id)
        {
            var blogPost = _blogRepository.Get(Id);

            return(_dataFactory.BlogPostViewModel(blogPost));
        }