<?php


namespace App\Http\Controllers\Transactions;

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


class WaiveTransactionController
{
    /**
     * @param Request $request
     * @param WaiveTransactionLogic $logic
     * @return JsonResponse
     */
    public function waive(Request $request, WaiveTransactionLogic $logic) : JsonResponse {
        return $logic->execute($request);
    }
}
