<?php

namespace App\Http\Controllers\Banks;

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

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

}