<?php

namespace App\Http\Controllers\Bookings;

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

class RestoreBookingController
{
    /**
     * @param Request $request
     * @param RestoreBookingLogic $logic
     * @return JsonResponse
     */
    public function restore(Request $request, RestoreBookingLogic $logic): JsonResponse {
        return $logic->execute($request);
    }
}