public StructureViewModel Build(StructureRenderingParameters args) { var model = new StructureViewModel { CssClass = args.CssClass, RenderingUniqueId = args.RenderingUniqueId }; if (args.ColorScheme != null) { model.BackgroundColor = args.ColorScheme[ColorSchemeFieldNames.BackgroundColor]; model.ForegroundColor = args.ColorScheme[ColorSchemeFieldNames.ForegroundColor]; } return(model); }
public ActionResult FourColumn(StructureRenderingParameters parms) { var model = _structureModelBuilder.Build(parms); return(View(model)); }
public ActionResult ThreeColumnWideCenter(StructureRenderingParameters parms) { var model = _structureModelBuilder.Build(parms); return(View(model)); }