Пример #1
0
 protected function GenerateResponse()
 {
     try {
         $this->response = ConsignacionesController::Terminar(isset($_GET['id_consignacion']) ? $_GET['id_consignacion'] : null, isset($_GET['productos_actuales']) ? json_decode($_GET['productos_actuales']) : null, isset($_GET['motivo']) ? $_GET['motivo'] : null, isset($_GET['tipo_pago']) ? $_GET['tipo_pago'] : null);
     } catch (Exception $e) {
         //Logger::error($e);
         throw new ApiException($this->error_dispatcher->invalidDatabaseOperation($e->getMessage()));
     }
 }