<?php

namespace App\Http\Controllers\Companies;

use App\Classes\Modules\Companies\ControllersLogic\ListCompanyModulesLogic;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

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

}