<?php


namespace App\Http\Controllers\Transactions;

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

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