public IActionResult GetTelefonesPessoa(int idPessoa) { var tel = _telService.GetByPessoa(idPessoa); if (tel == null) { return(NotFound()); } else { return(new ObjectResult(tel)); } }