Skip to content

Commit

Permalink
We don't need the result
Browse files Browse the repository at this point in the history
  • Loading branch information
einari committed Jul 2, 2017
1 parent b32fb7c commit 4b492de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Bifrost.Read.DocumentDB/Entities/EntityContext.cs
Expand Up @@ -86,7 +86,7 @@ public void Insert(T entity)
document.SetPropertyValue("_DOCUMENT_TYPE", documentType);

PopulateDocument(document, entity);
var result = _connection.Client.CreateDocumentAsync(_collection.DocumentsLink, document).Result;
_connection.Client.CreateDocumentAsync(_collection.DocumentsLink, document);
}

public void Update(T entity)
Expand All @@ -99,7 +99,7 @@ public void Update(T entity)
.SingleOrDefault();

PopulateDocument(document, entity);
_connection.Client.ReplaceDocumentAsync(document.SelfLink, document).Result;
_connection.Client.ReplaceDocumentAsync(document.SelfLink, document);
}

public void Delete(T entity)
Expand Down

0 comments on commit 4b492de

Please sign in to comment.