Esempio n. 1
0
 protected function GenerateResponse()
 {
     try {
         $this->response = ServiciosController::EditarOrden(isset($_POST['id_orden']) ? $_POST['id_orden'] : null, isset($_POST['extra_params']) ? json_decode($_POST['extra_params']) : null, isset($_POST['fecha_entrega']) ? $_POST['fecha_entrega'] : null, isset($_POST['id_usuario_asignado']) ? $_POST['id_usuario_asignado'] : null, isset($_POST['precio']) ? $_POST['precio'] : null);
     } catch (Exception $e) {
         //Logger::error($e);
         throw new ApiException($this->error_dispatcher->invalidDatabaseOperation($e->getMessage()));
     }
 }