Пример #1
0
        public async Task <Url> GetEntity(Url entity)
        {
            var table = await _storageTableHelper.GetTable(TableName);

            return(await _storageTableHelper.GetEntityAsync <Url>(table, entity.PartitionKey, entity.RowKey));
        }
        public async Task <ClickStatistic> Save(ClickStatistic entity)
        {
            var table = await _storageTableHelper.GetTable(TableName);

            return(await _storageTableHelper.InsertOrUpdateAsync(table, entity));
        }