protected function GenerateResponse() { try { $this->response = CargosYAbonosController::ListaConceptoIngreso(isset($_GET['activo']) ? $_GET['activo'] : null, isset($_GET['orden']) ? $_GET['orden'] : null); } catch (Exception $e) { //Logger::error($e); throw new ApiException($this->error_dispatcher->invalidDatabaseOperation($e->getMessage())); } }