<?php

namespace App\Http\Controllers\Companies;

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

class DeleteCompanyController
{
    /**
     * @param Request $request
     * @param DeleteCompanyLogic $logic
     * @return JsonResponse
     */
    public function destroy(Request $request, DeleteCompanyLogic $logic): JsonResponse {
        return $logic->execute($request);
    }

}