public Task AddAsync(long brokerAccountId, long cursor)
 {
     return(_tableStorage.InsertOrReplaceAsync(new CursorEntity
     {
         PartitionKey = brokerAccountId.ToString(), RowKey = CursorEntity.GetRk(), Cursor = cursor
     }));
 }
        public async Task <long?> GetAsync(long brokerAccountId)
        {
            var entity = await _tableStorage.GetDataAsync(CursorEntity.GetPk(brokerAccountId), CursorEntity.GetRk());

            return(entity?.Cursor);
        }