<?php

namespace App\Http\Controllers\Banks;

use App\Classes\Modules\Banks\ControllersLogic\UpdateBankLogic;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

class UpdateBankController
{
    /**
     * @param Request $request
     * @param UpdateBankLogic $logic
     * @return JsonResponse
     */
    public function update(Request $request, UpdateBankLogic $logic): JsonResponse {
        return $logic->execute($request);
    }

}