Example #1
0
 protected function GenerateResponse()
 {
     try {
         $this->response = POSController::AdminpaqImportar(isset($_POST['ip']) ? $_POST['ip'] : null, isset($_POST['path']) ? $_POST['path'] : null, isset($_POST['num_precio']) ? $_POST['num_precio'] : 1);
     } catch (Exception $e) {
         //Logger::error($e);
         throw new ApiException($this->error_dispatcher->invalidDatabaseOperation($e->getMessage()));
     }
 }