private static Dictionary<string, string> GetEmailSentTrackingProperties(ContactAttempt contactAttempt, ContactInfo contactInfo)
 {
     return new Dictionary<string, string> {
             { "profileId", contactInfo.ProfileId.ToString() },
             { "toEmail", contactInfo.EmailAddress },
             { "FromEmail", contactAttempt.EmailAddress },
             { "toName", contactAttempt.Name },
             { "subject", contactAttempt.EmailAddress }
     };
 }
 public void CreateNewContactInfo()
 {
     var profileId = profileRepository.FindProfileId(profileReference);
     contactInfoRepository.DeleteContactInfo(profileId);
     var contactInfo = new ContactInfo
     {
         Id = string.Empty,
         ProfileId = profileId,
         ContactMessage = "If you have any interesting technical challenges or unique business opportunities I would love to hear about them.",
         ContactInstructions = "Feel free to use this form to get in touch with me.  If for some reason you have any problems you can also use the email address provided below.",
         EmailAddress = "*****@*****.**",
         City = "Irvine",
         State = "CA",
         Zip = "92604"
     };
     contactInfoRepository.SaveContactInfo(contactInfo);
     var results = contactInfoRepository.GetContactInfo(profileId);
     Assert.AreEqual(profileId, results.ProfileId);
 }
 public void SaveContactInfo(ContactInfo contactInfo)
 {
     _dataContext.Save(contactInfo);
 }