<?php

namespace App\Http\Controllers\Orders;

use App\Classes\Modules\Orders\ControllersLogic\CreateShippingPackingListLogic;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

class CreateShippingPackingListController
{
    /**
     * @param Request $request
     * @param CreateShippingPackingListLogic $logic
     * @return JsonResponse
     */
    public function create(Request $request, CreateShippingPackingListLogic $logic): JsonResponse
    {
        return $logic->execute($request);
    }
}