<?php

namespace App\Http\Controllers\PackingLists\Packages;

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

class SwitchPackagePackingListController
{
    /**
     * @param Request $request
     * @param SwitchPackagePackingListLogic $logic
     * @return JsonResponse
     */
    public function switch(Request $request, SwitchPackagePackingListLogic $logic): JsonResponse {
        return $logic->execute($request);
    }

}
