public void SaveColorTheme(SettingsModel model)
 {
     SecurityContext.DemandPermissions(Tenant, SecutiryConstants.EditPortalSettings);
     ColorThemesSettings.SaveColorTheme(model.Theme);
     MessageService.Send(MessageAction.ColorThemeChanged);
 }
 public void SaveColorTheme(string theme)
 {
     SecurityContext.DemandPermissions(SecutiryConstants.EditPortalSettings);
     ColorThemesSettings.SaveColorTheme(theme);
     MessageService.Send(HttpContext.Current.Request, MessageAction.ColorThemeChanged);
 }
示例#3
0
 public void SaveColorTheme(string theme)
 {
     SecurityContext.DemandPermissions(SecutiryConstants.EditPortalSettings);
     ColorThemesSettings.SaveColorTheme(theme);
 }