<?php

namespace App\Http\Controllers\HelpMenu;

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

class SubmitQAQuestionsController
{
    /**
     * @param Request $request
     * @param SubmitQAQuestionsLogic $logic
     * @return JsonResponse
     */
    public function submit(Request $request, SubmitQAQuestionsLogic $logic): JsonResponse {
        return $logic->execute($request);
    }
}
