<?php

namespace App\Http\Controllers\PackingLists;

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

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

}
