<?php

namespace App\Http\Controllers\Bookings;

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

class DeleteBookingController
{
    /**
     * @param Request $request
     * @param DeleteBookingLogic $logic
     * @return JsonResponse
     */
    public function delete(Request $request, DeleteBookingLogic $logic): JsonResponse {
        return $logic->execute($request);
    }
}