<?php

namespace App\Http\Controllers\Companies;


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

class FetchCompanyEInvoiceInfoController
{
    /**
     * @param Request $request
     * @param FetchCompanyEInvoiceInfoLogic $logic
     * @return JsonResponse
     */
    public function fetch(Request $request, FetchCompanyEInvoiceInfoLogic $logic): JsonResponse {
        return $logic->execute($request);
    }
}
