<?php


namespace App\Http\Controllers\Transactions;

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

class DeleteBillGroupController
{
    /**
     * @param Request $request
     * @param DeleteGroupTransactionLogic $logic
     * @return JsonResponse
     */
    public function delete(Request $request, DeleteBillGroupLogic $logic) : JsonResponse {
        return $logic->execute($request);
    }
}
