public async Task InsertUserSensorDataAsync(UserSensorData data)
 {
     try
     {
         await client.UpsertDocumentAsync(collectionLink, data);
     }
     catch (Exception x)
     {
         Debug.WriteLine(x);
     }
 }
 public async Task InsertUserSensorDataAsync(UserSensorData data)
 {
     try
     {
         SessionDataManager sdm = new SessionDataManager();
         var session            = sdm.CreateSession();
         data.sessionId = session.Session.Id;
         await client.UpsertDocumentAsync(collectionLink, data, new RequestOptions
         {
             PreTriggerInclude = new List <string> {
                 "triggerSummaryUpdate"
             }
             //,PartitionKey = new PartitionKey("userId")
         });
     }
     catch (Exception x)
     {
         Debug.WriteLine(x);
     }
 }