<?php

namespace App\Http\Controllers\KeyValuePairs;

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

class CreateLockController
{
    /**
     * @param Request $request
     * @param CreateLockLogic $logic
     * @return JsonResponse
     */
    public function create(Request $request, CreateLockLogic $logic): JsonResponse {
        return $logic->execute($request);
    }
}
