<?php

namespace App\Http\Controllers\PackingLists;

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

class FetchPackingListController
{
    /**
     * @param Request $request
     * @param FetchPackingListLogic $logic
     * @return JsonResponse
     */
    public function fetch(Request $request, FetchPackingListLogic $logic): JsonResponse {
        return $logic->execute($request);
    }

}
