<?php


namespace App\Http\Controllers\Transactions;

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

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