<?php

namespace App\Http\Controllers\Banks;

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

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

}