<?php

namespace App\Http\Controllers\Accounts;


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

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

}
