public async Task <ICustomerChecksInfo> DeleteAsync(string clientId)
        {
            var partitionKey = CustomerChecksInfoEntity.GeneratePartitionKey(clientId);
            var rowKey       = CustomerChecksInfoEntity.GenerateRowKey(clientId);

            return(await _tableStorage.DeleteAsync(partitionKey, rowKey));
        }
        public async Task <IEnumerable <ICustomerChecksInfo> > GetBatch(int count, string separatingClientId = null)
        {
            if (separatingClientId == null)
            {
                return(await _tableStorage.WhereAsync(new TableQuery <CustomerChecksInfoEntity>().Take(count)));
            }

            var partitionKey = CustomerChecksInfoEntity.GeneratePartitionKey(separatingClientId);
            var rowKey       = CustomerChecksInfoEntity.GenerateRowKey(separatingClientId);

            var query = new TableQuery <CustomerChecksInfoEntity>()
                        .Where(TableQuery.CombineFilters(
                                   TableQuery.GenerateFilterCondition(
                                       nameof(ITableEntity.PartitionKey),
                                       QueryComparisons.GreaterThanOrEqual,
                                       partitionKey),
                                   TableOperators.And,
                                   TableQuery.GenerateFilterCondition(
                                       nameof(ITableEntity.RowKey),
                                       QueryComparisons.GreaterThan,
                                       rowKey)
                                   )).Take(count);

            return(await _tableStorage.WhereAsync(query));
        }