public async Task <IActionResult> CreateAsync(CreateCosmosPostDto newPost) { var post = await _postService.AddNewPostAsync(newPost); return(Created($"api/posts/{post.Id}", post)); }