public async Task <IAssetPair> GetAsync(string id) { var partitionKey = AssetPairEntity.GeneratePartitionKey(); var rowKey = AssetPairEntity.GenerateRowKey(id); return(await _tableStorage.GetDataAsync(partitionKey, rowKey)); }
public async Task <IEnumerable <IAssetPair> > GetAllAsync() { var partitionKey = AssetPairEntity.GeneratePartitionKey(); return(await _tableStorage.GetDataAsync(partitionKey)); }