<?php

namespace App\Http\Controllers\Bookings;

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

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

}
