public async Task <IActionResult> AddPost([FromBody] PostViewModel postBody) { var post = await _profileService.AddPost(postBody.PostBody, User); if (post == null) { return(BadRequest()); } return(Ok(post)); }