public IActionResult ListarTodos() { ICollection <Telefone> obj = _service.SelectAll(); if (obj == null || obj.Count == 0) { return(NotFound()); } return(Ok(obj)); }