<?php

namespace App\Http\Controllers\KeyValuePairs;

use App\Classes\Modules\KeyValuePairs\ControllersLogic\ListLocksLogic;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

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

}
