public override async Task SendUserAsync(string userId, string methodName, object[] args, CancellationToken cancellationToken = default) { if (string.IsNullOrEmpty(methodName)) { throw new ArgumentException(NullOrEmptyStringErrorMessage, nameof(methodName)); } if (string.IsNullOrEmpty(userId)) { throw new ArgumentException(NullOrEmptyStringErrorMessage, nameof(userId)); } var api = await _restApiProvider.GetSendToUserEndpointAsync(_appName, _hubName, userId); await _restClient.SendAsync(api, HttpMethod.Post, _productInfo, methodName, args, handleExpectedResponseAsync : null, cancellationToken : cancellationToken); }