Exemple #1
0
        public ActionResult EditContact(UpdateContactRequest model)
        {
            model.UserId  = SynergySecurity.GetCurrentUser();
            model.Api     = ApiTypes.AgileCrm;
            model.Request = "Update Contact details";
            var RecordId = SynergySecurity.ToLog <UpdateContactRequest>(model);
            UpdateContactResponse response = contactApi.UpdateContactProperty(model);

            SynergySecurity.ToUpdateLog <UpdateContactResponse>(response, RecordId);
            return(RedirectToAction("Contacts"));
        }