Ejemplo n.º 1
0
        public List <PAM_SocialAndEnvironmentalAssessmentOrIIFsPrinciplesAttachment> List_PAM_SocialAndEnvironmentalAssessmentOrIIFsPrinciplesAttachment(long pamId)
        {
            PAM_SocialAndEnvironmentalAssessmentOrIIFsPrinciples_Services svc = new PAM_SocialAndEnvironmentalAssessmentOrIIFsPrinciples_Services();

            svc.AppConfig = this.AppConfig;
            return(svc.ListAttachment(pamId));
        }
Ejemplo n.º 2
0
        public void Get_PAM_SocialAndEnvironmentalAssessmentOrIIFsPrinciplesAttachment_Content(long id)
        {
            PAM_SocialAndEnvironmentalAssessmentOrIIFsPrinciples_Services svc = new PAM_SocialAndEnvironmentalAssessmentOrIIFsPrinciples_Services();

            svc.AppConfig = this.AppConfig;
            XDocument xDoc = svc.GetAttachmentContent(id);

            this.ReturnXDocumentFile(xDoc);
        }