<?php


namespace App\Http\Controllers\Transactions;

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


class SuspendTransactionController
{
    /**
     * @param Request $request
     * @param SuspendTransactionLogic $logic
     * @return JsonResponse
     */
    public function suspend(Request $request, SuspendTransactionLogic $logic) : JsonResponse {
        return $logic->execute($request);
    }
}
