<?php


namespace App\Http\Controllers\Transactions;

use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;
use App\Classes\Modules\Transactions\ControllersLogic\FetchBankAccountBalanceLogic;


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