<?php

namespace App\Http\Controllers\Orders;

use App\Classes\Modules\Orders\ControllersLogic\ChangeOrderOwnerLogic;
use App\Http\Controllers\Controller;
use App\Models\CompanyConnection;
use App\Models\PackingList;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

class ChangeOrderOwnerController extends Controller
{
   /**
     * @param Request $request
     * @param ChangeOrderOwnerLogic $changeOrderOwnerLogic
     * @return JsonResponse
     */
    public function update(Request $request, ChangeOrderOwnerLogic $logic): JsonResponse
    {
        return $logic->execute($request);
    }
}
