예제 #1
0
        // Create theme.
        public ActionResult CreateTheme()
        {
            var theme = _themeRepository.GetActiveTheme();
            var vm    = new CreateThemeViewModel
            {
                SelectedThemeId   = theme.ThemeId,
                SelectedThemeName = theme.Name
            };

            return(View(vm));
        }