public ConfigsController(
     IRepository<Config> configRepository,
     IRepository<PluginConfig> pluginConfigRepository,
     IRepository<Role> roleRepository,
     IRepository<Theme> themeRepository,
     ThemeServices themeServices)
 {
     _configRepository = configRepository;
     _pluginConfigRepository = pluginConfigRepository;
     _roleRepository = roleRepository;
     _themeRepository = themeRepository;
     _themeServices = themeServices;
 }
Example #2
0
 public UserController(
     ThemeServices themes,
     UserServices users,
     ParseServices parseServices,
     MessageServices messageServices,
     EmailServices emailServices,
     FileServices fileServices,
     RoleServices roleServices)
 {
     _themeServices = themes;
     _userServices = users;
     _parseServices = parseServices;
     _messageServices = messageServices;
     _emailServices = emailServices;
     _fileServices = fileServices;
     _roleServices = roleServices;
     SetTopBreadCrumb("User CP");
     SetBreadCrumb("User CP");
 }
 public ThemesController(IRepository<Theme> themeRepository, ThemeServices themeServices)
 {
     _themeRepository = themeRepository;
     _themeServices = themeServices;
     SetCrumb("Themes");
 }