<?php

namespace App\Http\Controllers\PackingLists;

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

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

}
