<?php


namespace App\Http\Controllers\Transactions;

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


class ListBillGroupsController
{
    /**
     * @param Request $request
     * @param ListBillGroupsLogic $logic
     * @return JsonResponse
     */
    public function list(Request $request, ListBillGroupsLogic $logic) : JsonResponse {
        return $logic->execute($request);
    }
}
