<?php

namespace App\Http\Controllers\HelpMenu;

use App\Classes\Modules\HelpMenu\ControllersLogic\FetchQuestionQALogic;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

class FetchQuestionQAController
{
    /**
     * @param Request $request
     * @param FetchQuestionQALogic $logic
     * @return JsonResponse
     */
    public function fetch(Request $request, FetchQuestionQALogic $logic): JsonResponse {
        return $logic->execute($request);
    }

}
