Пример #1
0
 private static void AddSectionsToAllUsers()
 {
     NewsSection.AddSectionToAllUsers();
     EventsSection.AddSectionToAllUsers();
     BulletinsSection.AddSectionToAllUsers();
     GroupsSection.AddSectionToAllUsers();
     NotificationSettingsSection.AddSectionToAllUsers();
 }
Пример #2
0
        protected override void ApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext)
        {
            NewsSection.AddSectionToAllUsers(applicationContext);
            EventsSection.AddSectionToAllUsers(applicationContext);
            BulletinsSection.AddSectionToAllUsers(applicationContext);

            RegisterRoutes();

            base.ApplicationStarted(umbracoApplication, applicationContext);
        }