public async Task <IStreamData> GetAsync(string id)
        {
            var partitionKey = StreamEntity.GeneratePartitionKey();
            var rowKey       = StreamEntity.GenerateRowKey(id);

            return(await _streamsTableStorage.GetDataAsync(partitionKey, rowKey));
        }
        public async Task DeleteAsync(string id)
        {
            var partitionKey = StreamEntity.GeneratePartitionKey();
            var rowKey       = StreamEntity.GenerateRowKey(id);

            await _streamsTableStorage.DeleteAsync(partitionKey, rowKey);
        }
        public Task UpdateAsync(IStreamData streamData)
        {
            var partitionKey = StreamEntity.GeneratePartitionKey();
            var rowKey       = StreamEntity.GenerateRowKey(streamData.Id);

            return(_streamsTableStorage.ReplaceAsync(partitionKey, rowKey, itm =>
            {
                itm.Update(streamData);
                return itm;
            }));
        }
        public async Task <IEnumerable <IStreamData> > GetStreamsAsync()
        {
            var partitionKey = StreamEntity.GeneratePartitionKey();

            return(await _streamsTableStorage.GetDataAsync(partitionKey));
        }