public async Task <IKycDocument> DeleteAsync(string clientId, string documentId) { var partitionKey = KycDocumentEntity.GeneratePartitionKey(clientId); var rowKey = KycDocumentEntity.GenerateRowKey(documentId); return(await _tableStorage.DeleteAsync(partitionKey, rowKey)); }
public async Task <IEnumerable <IKycDocument> > GetAsync(string clientId) { var partitionKey = KycDocumentEntity.GeneratePartitionKey(clientId); return(await _tableStorage.GetDataAsync(partitionKey)); }