Exemplo n.º 1
0
        public override async Task DeleteAsync(ApiTableEntityKey id)
        {
            var targetEntity = await ReadAsync(id);

            var tableOperation = TableOperation.Delete(targetEntity);
            var result         = await Table.ExecuteAsync(tableOperation);
        }
Exemplo n.º 2
0
        public override async Task <TRecordType> ReadAsync(ApiTableEntityKey id)
        {
            var tableOperation = TableOperation.Retrieve <TRecordType>(id.PartitionKey, id.RowKey);
            var result         = await Table.ExecuteAsync(tableOperation);

            var output = (TRecordType)result.Result;

            return(output);
        }