<?php


namespace App\Http\Controllers\Transactions;

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

class CancelBillGroupController
{
    /**
     * @param Request $request
     * @param CancelGroupTransactionLogic $logic
     * @return JsonResponse
     */
    public function cancel(Request $request, CancelBillGroupLogic $logic) : JsonResponse {
        return $logic->execute($request);
    }
}
