<?php

namespace App\Http\Controllers\Documents;

use App\Classes\Modules\Documents\ControllersLogic\UpdateDocumentReferenceLogic;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

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

}