public List <CM_OtherAttachmentOrReportsAttachment> List_CM_OtherAttachmentOrReportsAttachment(long cmId) { CM_OtherAttachmentOrReports_Services svc = new CM_OtherAttachmentOrReports_Services(); svc.AppConfig = this.AppConfig; return(svc.ListAttachment(cmId)); }
public void Get_CM_OtherAttachmentOrReportsAttachment_Content(long id) { CM_OtherAttachmentOrReports_Services svc = new CM_OtherAttachmentOrReports_Services(); svc.AppConfig = this.AppConfig; XDocument xDoc = svc.GetAttachmentContent(id); this.ReturnXDocumentFile(xDoc); }