<?php

namespace App\Http\Controllers\Companies;

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

class CreateCompanyController
{
    /**
     * @param Request $request
     * @param CreateCompanyLogic $logic
     * @return JsonResponse
     */
    public function create(Request $request, CreateCompanyLogic $logic): JsonResponse {
        return $logic->execute($request);
    }

}