public function setBaseService( $response,  $dbService,  $request) {
        $this->response = $response;
        ini_set("log_errors_max_len",0);
        if ($dbService != null) { // unit testintg
            //$dbService->createEntityManager();
            $this->entityManager = $dbService->getEntityManager();

        }
        $this->request = $request;
    }