public async Task <IActionResult> Get(string id) { var post = await _comsosPostService.GetPostByIDAsync(id); if (post == null) { return(NotFound()); } return(Ok(post)); }