public async Task PublishNotification(string id, string message)
 {
     await _serviceClient.SendToUserAsync(id, RequestContent.Create(new
     {
         transcriptionId = id,
         statusMessage   = message,
         lastUpdated     = DateTime.UtcNow
     }
                                                                    ), ContentType.ApplicationJson);
 }
 public async Task SendToUser(SendToUser webPubSubEvent)
 {
     var content     = RequestContent.Create(webPubSubEvent.Message);
     var contentType = Utilities.GetContentType(webPubSubEvent.DataType);
     await _client.SendToUserAsync(webPubSubEvent.UserId, content, contentType).ConfigureAwait(false);
 }