<?php


namespace App\Http\Controllers\Transactions;

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


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