Exemple #1
0
        public Task ProcessBatchAsync(IReadOnlyList <Contact> batch, CancellationToken token)
        {
            foreach (var contact in batch)
            {
                _xdbContext.DeleteContact(contact);
            }

            return(_xdbContext.SubmitAsync(token));
        }