<?php

namespace App\Http\Controllers\Documents;

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

class ApproveDocumentController
{
    /**
     * @param Request $request
     * @param ApproveIdentificationDocumentLogic $logic
     * @return JsonResponse
     */
    public function approve(Request $request, ApproveIdentificationDocumentLogic $logic): JsonResponse {
        return $logic->execute($request);
    }

}