<?php

namespace App\Http\Controllers\Banks;

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

class DeleteBankController
{
    /**
     * @param Request $request
     * @param DeleteBankLogic $logic
     * @return JsonResponse
     */
    public function delete(Request $request, DeleteBankLogic $logic): JsonResponse {
        return $logic->execute($request);
    }
}