<?php


namespace App\Http\Controllers\Transactions;

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


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