public async Task <IActionResult> Get([FromRoute] Guid id) { var post = await _queries.Get(id); if (post is null) { return(NotFound()); } return(Ok(post)); }
public async Task <IActionResult> Get([FromRoute] Guid id) { var post = await _queries.Get(id); if (post is null) { return(NotFound()); } return(Ok(post)); }