Esempio n. 1
0
        public async Task CleanUp()
        {
            foreach (string eventId in _eventIdList)
            {
                await _repository.DeleteRawEventAsync(eventId, new RequestOptions()
                {
                    PartitionKey = new Microsoft.Azure.Documents.PartitionKey(Microsoft.Azure.Documents.Undefined.Value)
                });
            }

            _eventIdList.Clear();

            await AzureTableStorageHelper.CleanUpPersonFromLocalStorage(_context, _userId);

            await AzureTableStorageHelper.CleanUpPersonFromLocalStorage(_context, _targetId);
        }