public List <PAM_RiskRatingAttachment> List_PAM_RiskRatingAttachment(long pamId) { PAM_RiskRating_Services svc = new PAM_RiskRating_Services(); svc.AppConfig = this.AppConfig; return(svc.ListAttachment(pamId)); }
public void Get_PAM_RiskRatingAttachment_Content(long id) { PAM_RiskRating_Services svc = new PAM_RiskRating_Services(); svc.AppConfig = this.AppConfig; XDocument xDoc = svc.GetAttachmentContent(id); this.ReturnXDocumentFile(xDoc); }