/// <summary>
 /// The initialize account modules or routes.
 /// </summary>
 /// <param name="handler">
 /// The handler.
 /// </param>
 private void InitializeRoutes(AdminRequestHandler handler)
 {
     User           = new UserRoute(handler);
     Survey         = new SurveyRoute(handler);
     Project        = new ProjectRoute(handler);
     Email          = new EmailRoute(handler);
     Common         = new CommonRoute(handler);
     Questionnaire  = new QuestionnaireRoute(handler);
     Media          = new MediaRoute(handler);
     Panel          = new PanelRoute(handler);
     Panellist      = new PanellistRoute(handler);
     ProfileElement = new ProfileElementRoute(handler);
     GeoLocation    = new GeoLocationRoute(handler);
     GeoFence       = new GeoFencingRoute(handler);
     Sample         = new SampleRoute(handler);
     Theme          = new ThemeRoute(handler);
     Scheduler      = new SchedulerRoute(handler);
     Notification   = new NotificationRoute(handler);
 }
Exemple #2
0
 private string ThemeNavigation(int id, string name, ThemeRoute route)
 {
     return(SectionNavigation(route.SectionId, route.SectionName, route.SectionRoute)
            + sep + @"<a href=""/Theme/Index/" + id + @""">Тема " + name + "</a>");
 }