public async Task <IEnumerable <ILimitTradeEvent> > GetEventsAsync(string clientId) { return(await _storage.GetDataAsync(LimitTradeEventEntity.GeneratePartitionKey(clientId))); }
public Task CreateEvent(string orderId, string clientId, OrderType type, double volume, string assetId, string assetPair, double price, OrderStatus status, DateTime dateTime) { return(_storage.InsertAsync(LimitTradeEventEntity.Create(orderId, clientId, type, volume, assetId, assetPair, price, status, dateTime))); }