<?php

namespace App\Http\Controllers\Documents;


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

class RenderDocumentController
{

    /**
     * @param Request $request
     * @param RenderDocumentLogic $logic
     * @return JsonResponse
     */
    public function fileStorageServe(Request $request, RenderDocumentLogic $logic): JsonResponse {
        return $logic->execute($request);
    }

}