<?php

namespace App\Http\Controllers\KeyValuePairs;


use App\Classes\Modules\KeyValuePairs\ControllersLogic\ListAiPromptsKVPLogic;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

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