public static Task <bool> DeleteDocumentAsync <T, U>(this ICosmosDbRepository <T> repo, U partitionKey, DocumentId itemId, RequestOptions requestOptions = null) { requestOptions = SetPartitionKey(partitionKey, requestOptions); return(repo.DeleteDocumentAsync(itemId, requestOptions)); }