<?php

namespace App\Http\Controllers\Wallets;

use App\Classes\Modules\Wallets\ControllersLogic\FetchWalletByCompanyModuleControllerLogic;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

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

}
