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); }
public string GetCompanyName(string CompanyId) { Informa.Models.DCD.Company c = GetCompany(CompanyId); return(c?.Title ?? string.Empty); }
private Informa.Models.DCD.Company GetCompany(string CompanyId) { Informa.Models.DCD.Company d = _.DcdReader.GetCompanyByRecordNumber(CompanyId); return(d); }