Beispiel #1
0
        public override async Task <BlogPost> FindAsync(Guid id)
        {
            var blogPost = await _blogPostRepository.FindAsync(id);

            blogPost.Content = await _iORepository.ReadFileAsync($"{_postsPath}/{blogPost.Id}_post.md");

            return(blogPost);
        }