public ActionResult ContactDelete(long id, FormCollection collection) { var request = new DeleteContactRequest(SynergySecurity.GetCurrentUser()); request.Id = id; var RecordId = SynergySecurity.ToLog <DeleteContactRequest>(request); DeleteContactResponse response = contactApi.DeleteContact(request); SynergySecurity.ToUpdateLog <DeleteContactResponse>(response, RecordId); return(RedirectToAction("Contacts")); }