<?php

namespace App\Http\Controllers\PackingLists\Packages;

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

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

}
