public async Task <IActionResult> AddPostToBlog(Post post) { var numberOfRecords = await _postService.AddPostToBlogAsync(post).ConfigureAwait(false); return(Ok(numberOfRecords)); }
public async Task <IActionResult> AddPostToBlog(Post post) { var numberOfRecords = await _postService.AddPostToBlogAsync(post).ConfigureAwait(false); return(Ok(numberOfRecords)); }