<?php

namespace App\Http\Controllers\Bookings;

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

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

}