<?php

namespace App\Http\Controllers\PackingLists\Packages;

use App\Classes\Modules\PackingLists\ControllersLogic\Packages\UpdatePackageLogic;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

class UpdatePackageController
{
    /**
     * @param Request $request
     * @param UpdatePackageLogic $logic
     * @return JsonResponse
     */
    public function update(Request $request, UpdatePackageLogic $logic): JsonResponse {
        return $logic->execute($request);
    }

}
