public async Task <ActionResult> Index() { var model = new ThemeViewModel { Themes = await _themeService.GetAsync(), Fonts = await _fontService.GetAsync() }; return(View(model)); }
public async Task <ActionResult> Index() { var model = new MediaViewModel { Images = await _imageService.GetAsync(), Fonts = await _fontService.GetAsync() }; return(View(model)); }
public async Task <ActionResult> Create() { var model = new UpsertViewModel { FontList = await _fontService.GetAsync(), PageBackgroundColour = "#000000", MenuBackgroundColour = "#000000", MenuTextColour = "#9d9d9d" }; return(PartialView("_Create", model)); }