Example #1
0
        public async Task <IActionResult> GetPosts(Guid blogId)
        {
            var posts = await postQueries.GetBlogPosts(blogId);

            return(Ok(posts));
        }