/** * * @param Integer $id * @return EstadoDTO */ public function verEstado($id) { try { $this->eDao = new EstadoDAO(); $this->eDto = $this->eDao->verUno($id); return $this->eDto; } catch (Exception $ex) { return $ex->getMessage(); } }