<?php

namespace App\Http\Controllers\Documents;

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

class ListDocumentsJobController
{
    /**
     * @param Request $request
     * @param ListDocumentJobLogic $logic
     * @return JsonResponse
     */
    public function list(Request $request, ListDocumentJobLogic $logic): JsonResponse {
        return $logic->execute($request);
    }
}
