Beispiel #1
0
 public async Task <BlogPost> GetBlogPost([FromBody] GetBlogPostRequest request)
 {
     return(await _cmsService.GetBlogPost(request.Id));
 }
Beispiel #2
0
        public async Task <BlogPost> GetBlogPost(string id)
        {
            var result = await _service.GetBlogPost(id);

            return(result);
        }