public async Task <ExternalLimitOrder> GetByIdAsync(string externalLimitOrderId)
        {
            ExternalLimitOrderEntity entity = await _storage.GetDataAsync(GetPartitionKey(externalLimitOrderId),
                                                                          GetRowKey(externalLimitOrderId));

            return(Mapper.Map <ExternalLimitOrder>(entity));
        }
        public async Task InsertAsync(string parentId, ExternalLimitOrder externalLimitOrder)
        {
            var entity = new ExternalLimitOrderEntity(GetPartitionKey(externalLimitOrder.Id),
                                                      GetRowKey(externalLimitOrder.Id));

            Mapper.Map(externalLimitOrder, entity);

            await _storage.InsertAsync(entity);

            var index = new AzureIndex(GetIndexPartitionKey(parentId), GetIndexRowKey(externalLimitOrder.Id), entity);

            await _indices.InsertAsync(index);
        }