예제 #1
0
        public async Task <IActionResult> AddPostToBlog(Post post)
        {
            var numberOfRecords = await _postService.AddPostToBlogAsync(post).ConfigureAwait(false);

            return(Ok(numberOfRecords));
        }