public IActionResult Mostrar(int id) { Telefone obj = _service.Select(id); if (obj == null) { return(NotFound("Objeto não encontrado.")); } return(Ok(obj)); }