<?php

namespace App\Http\Controllers\HelpMenu;

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

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