<?php

namespace App\Http\Controllers\Bookings;


use App\Classes\Modules\Bookings\ControllersLogic\CreateBookingLockLogic;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

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