public async Task CmdAddUser()
        {
            IsButtonDisabled = true;
            StateHasChanged();


            LocalFunctions.Validate(tsUser, false);

            Validate();


            if (LocalFunctions.HasError())
            {
                LocalFunctions.DisplayErrors();
            }
            else
            {
                if (await WebApi.CmdCheckUserNameNotExists(tsUser.UserName.Trim()))
                {
                    await WebApi.CmdRegisterUser(tsUser);
                }
            }


            IsButtonDisabled = false;
        }