public virtual String InvokeToSingleString(String moduleUri, String separator, String inputSearchDetails) { ResultSequence resultSequence = null; string strResponse = ""; try { resultSequence = Invoke(moduleUri, inputSearchDetails); if (resultSequence != null) { strResponse = resultSequence.AsString(separator); } if (resultSequence != null) { resultSequence.Close(); } } catch (Exception ex) { throw ex; } return(strResponse); }