<?php

namespace App\Http\Controllers\PackingLists\Containers;

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

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

}
