<?php

namespace App\Http\Controllers\Bookings;

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

class UpdateBookingOwnerController
{
    /**
     * @param Request $request
     * @param RegenerateInvoiceBookingLogic $logic
     * @return JsonResponse
     */
    public function update(Request $request, UpdateBookingOwnerLogic $logic): JsonResponse {
        return $logic->execute($request);
    }

}