public IActionResult GetById(int endereco) { var enderecos = _enderecoRepositorio.FindByEnd(endereco); if (enderecos == null) { return(NotFound()); } return(new ObjectResult(endereco)); }