Ejemplo n.º 1
0
        public async Task <ActionResult> Index()
        {
            var model = new ThemeViewModel
            {
                Themes = await _themeService.GetAsync(),
                Fonts  = await _fontService.GetAsync()
            };

            return(View(model));
        }
Ejemplo n.º 2
0
        public async Task <ActionResult> Index()
        {
            var model = new MediaViewModel
            {
                Images = await _imageService.GetAsync(),
                Fonts  = await _fontService.GetAsync()
            };

            return(View(model));
        }
Ejemplo n.º 3
0
        public async Task <ActionResult> Create()
        {
            var model = new UpsertViewModel
            {
                FontList             = await _fontService.GetAsync(),
                PageBackgroundColour = "#000000",
                MenuBackgroundColour = "#000000",
                MenuTextColour       = "#9d9d9d"
            };

            return(PartialView("_Create", model));
        }