public Task <bool> InsertAsync(Consent record)
        {
            if (record == null)
            {
                throw new ArgumentNullException(nameof(record));
            }

            _consents.Add(record.Copy());
            return(Task.FromResult(true));
        }