public List <CM_MergedDocumentResultAttachment> List_CM_MergedDocumentResultAttachment(long CMId, bool isPreview) { CM_MergedDocumentResult_Services svc = new CM_MergedDocumentResult_Services(); svc.AppConfig = this.AppConfig; return(svc.ListMergedDocumentResultAttachment(CMId, isPreview)); }
public void Get_CM_MergedDocumentResultAttachment_Content(long id) { CM_MergedDocumentResult_Services svc = new CM_MergedDocumentResult_Services(); svc.AppConfig = this.AppConfig; XDocument xDoc = svc.GetAttachmentContent(id); this.ReturnXDocumentFile(xDoc); }