<?php

namespace App\Http\Controllers\Bookings;

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

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

}
