예제 #1
0
 /// <summary>
 /// Get user interaction details.
 /// </summary>
 /// <param name="identifier"></param>
 /// <returns></returns>
 public ActionResult GetUserInteractionDetails(string identifier)
 {
     try
     {
         if (!string.IsNullOrEmpty(identifier))
         {
             _contactRepository.AddContactDetails();
             Contact contactDetails = _contactRepository.GetUserContactDetails(identifier);
             if (contactDetails != null)
             {
                 return(PartialView("~/Views/GDPR/UserInteractionDetails.cshtml", contactDetails));
             }
         }
     }
     catch (Exception ex)
     {
         Sitecore.Diagnostics.Log.Error(message: ex.Message, exception: ex);
     }
     return(View("~/Views/GDPR/UserInteractionDetails.cshtml"));
 }
예제 #2
0
 public ResponseDTO AddContactDetails(ContactDTO contactDTO)
 {
     return(_objContact.AddContactDetails(contactDTO));
 }