<?php

namespace App\Http\Controllers\PackingLists\Packages;

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

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

}
