<?php

namespace App\Http\Controllers\Bookings;

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

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

}