public SaveStatus ImportByEnvelopeId(string envelopeId, bool handlingPendingRecords = false) { LoggingHelper.DoTrace(6, thisClassName + string.Format("Request to import entity by envelopeId: {0}", envelopeId)); var mgr = new ImportHelperServices(); if (mgr.ImportByEnvelopeId(envelopeId, status)) { if (handlingPendingRecords) { new RegistryServices().ImportPending(); } //can't call Services from here -> so will do in caller //ElasticServices.UpdateElastic(); } return(status); }
// public SaveStatus ImportByCtid(string ctid, bool handlingPendingRecords = false) { //, bool doPendingTask = false LoggingHelper.DoTrace(6, thisClassName + string.Format("Request to import entity by ctid: {0}", ctid)); var mgr = new ImportHelperServices(); //TODO - update to check for alternate community if not found with the default community if (mgr.ImportByCtid(ctid, status)) { if (handlingPendingRecords) { new RegistryServices().ImportPending(); } //ElasticServices.UpdateElastic(); } return(status); }