Пример #1
0
 private async Task CreateSectionContents(IEnumerable <CategoryContent> contents, MenuSection section)
 {
     foreach (var categoryContent in contents)
     {
         var sectionContent = MenuSectionContent.CreateMenuSectionContent(categoryContent.Lang,
                                                                          DynamicCreated, section);
         await _menuManager.AddSectionContentAsync(sectionContent);
     }
 }