<?php

namespace App\Http\Controllers\Accounts;


use App\Classes\Modules\Accounts\ControllersLogic\CreateAdminUserLogic;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

class CreateAdminUserController
{

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

}