private List <BusinessRuleMappingItem> BusinessMapping(int id) { List <BusinessRuleMappingItem> items = new List <BusinessRuleMappingItem>(); List <EntityDTO> sections = entityData.GetSections(id); if (sections.Count > 0) { foreach (EntityDTO related in sections) { BusinessRuleMappingItem br = new BusinessRuleMappingItem(); related.ExtractProperties(); br.SectionName = MappingToolUrlHelper.GenerateValidSectionLinkMarkup(related.Name); br.SectionDescription = related.RenderHTML(GlobalStringResource.Description, RenderOption.None).ToUpper(); items.Add(br); } } return(items); }
private List<BusinessRuleMappingItem> BusinessMapping(int id) { List<BusinessRuleMappingItem> items = new List<BusinessRuleMappingItem>(); List<EntityDTO> sections = entityData.GetSections(id); if (sections.Count > 0) { foreach (EntityDTO related in sections) { BusinessRuleMappingItem br = new BusinessRuleMappingItem(); related.ExtractProperties(); br.SectionName = MappingToolUrlHelper.GenerateValidSectionLinkMarkup(related.Name); br.SectionDescription = related.RenderHTML(GlobalStringResource.Description, RenderOption.None).ToUpper(); items.Add(br); } } return items; }