Exemple #1
0
        private CompanyContent GetCompanyContent(string CompanyId)
        {
            Informa.Models.DCD.Company c = GetCompany(CompanyId);
            if (c == null)
            {
                return(null);
            }

            CompanyContent cc = _.CachedXmlParser.ParseContent <CompanyContent>(c.Content, CompanyId);

            return(cc);
        }
Exemple #2
0
 public string GetCompanyName(string CompanyId)
 {
     Informa.Models.DCD.Company c = GetCompany(CompanyId);
     return(c?.Title ?? string.Empty);
 }
Exemple #3
0
 private Informa.Models.DCD.Company GetCompany(string CompanyId)
 {
     Informa.Models.DCD.Company d = _.DcdReader.GetCompanyByRecordNumber(CompanyId);
     return(d);
 }