<?php

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

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

class ListPackageItemsController
{
    /**
     * @param Request $request
     * @param ListPackageItemLogic $logic
     * @return JsonResponse
     */
    public function list(Request $request, ListPackageItemsLogic $logic): JsonResponse {
        return $logic->execute($request);
    }

}
