<?php

namespace App\Http\Controllers\Bookings;

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

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

}