<?php

namespace App\Http\Controllers\Bookings;

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

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

}