public List <CM_WorkingPaperAttachment> List_CM_WorkingPaperAttachment_Previous(long CMId, string snWhenAdded_NOT) { CM_WorkingPaper_Services svc = new CM_WorkingPaper_Services(); svc.AppConfig = this.AppConfig; return(svc.ListAttachment(CMId, null, null, snWhenAdded_NOT)); }
public void Get_CM_WorkingPaperAttachment_Content(long id) { CM_WorkingPaper_Services svc = new CM_WorkingPaper_Services(); svc.AppConfig = this.AppConfig; XDocument xDoc = svc.GetAttachmentContent(id); this.ReturnXDocumentFile(xDoc); }