public IActionResult GetById(int id) { var retorno = repo.GetById(id); if (retorno == null) { return(NotFound()); } return(Ok(retorno)); }