<?php

namespace App\Http\Controllers\Companies;

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

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

}