예제 #1
0
 public async Task <ActionResult <List <BlogPostDTO> > > GetBlogPostsByType(string type)
 {
     return(await _blogPostRepository.GetBlogPostsByTypeAsync(type));
 }