<?php

namespace App\Http\Controllers\Accounting;

use App\Classes\Modules\Accounting\ControllersLogic\UpdateStatementTransactionStatusLogic;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

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

}