<?php

namespace App\Http\Controllers\PackingLists\Packages\items;

use App\Classes\Modules\PackageItems\ControllersLogic\CreatePackageItemLogic;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

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

}
