<?php

namespace App\Http\Controllers\Accounts;


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

class ListUsersController
{

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

}