<?php

namespace App\Http\Controllers\HelpMenu;

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

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