<?php

namespace App\Http\Controllers\Orders;

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

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