<?php

namespace App\Http\Controllers\Bookings;

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

class MergeBookingController
{
    /**
     * @param Request $request
     * @param MergeBookingLogic $logic
     * @return JsonResponse
     */
    public function merge(Request $request, MergeBookingLogic $logic): JsonResponse {
        return $logic->execute($request);
    }
}