<?php

namespace App\Http\Controllers\PackingLists\Containers;

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

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

}
