<?php

namespace App\Http\Controllers\Bookings;

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

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

}