Exemple #1
0
 private async Task CacheUserPermission(PermissionToken permissionToken)
 {
     permissionToken.Id = permissionToken.UserId + "permission";
     await Client.UpsertDocumentAsync(UriFactory.CreateDocumentCollectionUri(databaseId, collectionId), permissionToken);
 }