Beispiel #1
0
        internal string AddGifCounter(CounterEntity gifCounter)
        {
            var insertOperation = TableOperation.InsertOrReplace(gifCounter);
            var replaceResult   = _table.Execute(insertOperation);

            return(gifCounter.RowKey.ToString());
        }
Beispiel #2
0
 private void DeleteGifCount(int gifCount)
 {
     var            deleteCount     = new CounterEntity(gifCount.ToString());
     TableOperation deleteOperation = TableOperation.Delete(deleteCount);
     var            deleteResult    = _table.Execute(deleteOperation);
 }