Port 7.7 - WIP

This commit is contained in:
Stephan
2017-09-12 16:22:16 +02:00
parent 1c96df83cd
commit 96c08f24ee
176 changed files with 5490 additions and 4892 deletions

View File

@@ -17,5 +17,12 @@ namespace Umbraco.Web.Editors
var sections = Services.SectionService.GetAllowedSections(Security.GetUserId());
return sections.Select(Mapper.Map<Core.Models.Section, Section>);
}
public IEnumerable<Section> GetAllSections()
{
var sections = Services.SectionService.GetSections();
return sections.Select(Mapper.Map<Core.Models.Section, Section>);
}
}
}