/// <inheritdoc />
        public Task <bool> DeleteAsync(string id)
        {
            DocumentCollection collection = EnsureCollection();
            bool deleted = collection.Delete(id);

            return(Task.FromResult(deleted));
        }