<?php


namespace App\Http\Controllers\Transactions;

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


class CreateSupplierBillGroupController
{
    /**
     * @param Request $request
     * @param CreateSupplierBillGroupLogic $logic
     * @return JsonResponse
     */
    public function create(Request $request, CreateSupplierBillGroupLogic $logic) : JsonResponse {
        return $logic->execute($request);
    }
}
