public bool CreateSubscriberRecord(SubscriberRecord record)
        {
            if (record.IsNull())
                return false;

            record.Contacted();

            _automessagingContext.Records.Add(record);

            return _automessagingContext.SaveChanges() > 0;
        }
        public SubscriberRecord GetExistingSubscriberRecord(SubscriberRecord record)
        {
            if (record.IsNull())
                return null;

            return
                _automessagingContext.Records.Active()
                    .FirstOrDefault(
                        s =>
                            (s.SubscriberEmail == record.SubscriberEmail) &&
                            (s.SubscriberTelephoneNumber == record.SubscriberTelephoneNumber) &&
                            (s.EventType == record.EventType));
        }