<?php

namespace App\Http\Controllers\Companies;

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

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

}