示例#1
0
 protected function GenerateResponse()
 {
     try {
         $this->response = InventarioController::Fisico(isset($_POST['inventario']) ? json_decode($_POST['inventario']) : null, isset($_POST['id_sucursal']) ? $_POST['id_sucursal'] : "");
     } catch (Exception $e) {
         //Logger::error($e);
         throw new ApiException($this->error_dispatcher->invalidDatabaseOperation($e->getMessage()));
     }
 }