예제 #1
0
        public async Task <IBidAskHistory> GetAsync(string id)
        {
            var partitionKey = BidAskHistoryTableEntity.GeneratePartitionKey();
            var rowKey       = BidAskHistoryTableEntity.GenerateRowKey(id);

            return(await _table.GetAsync(partitionKey, rowKey));
        }
예제 #2
0
        public async Task <IEnumerable <IBidAskHistory> > GetAllAsync()
        {
            var partitionKey = BidAskHistoryTableEntity.GeneratePartitionKey();

            return(await _table.GetAsync(partitionKey));
        }