Exemple #1
0
 public static void InsertDocument(TemoingnageJsn temoignage)
 {
     try
     {
         var reponse = docClient.CreateDocumentAsync(collTemoignageUri, temoignage).Result;
     }
     catch (Exception e)
     {
         throw e;
     }
 }
Exemple #2
0
 public static void UpsertDocument(TemoingnageJsn temoignage)
 {
     var response = docClient.UpsertDocumentAsync(collTemoignageUri, temoignage, disableAutomaticIdGeneration: true).Result;
 }
 public static void InsertDocument(TemoingnageJsn temoignage)
 {
     var reponse = docClient.CreateDocumentAsync(collUri, temoignage).Result;
 }