<?php

namespace App\Http\Controllers\KeyValuePairs;

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

class UpdateLockController
{
    /**
     * @param Request $request
     * @param UpdateLockLogic $logic
     * @return JsonResponse
     */
    public function update(Request $request, UpdateLockLogic $logic): JsonResponse {
        return $logic->execute($request);
    }

}
