Exemplo n.º 1
0
        public ActionResult CentralColumn()
        {
            ContentGlassModel    contentGlassModel = CommonMapper.MapItem <ContentGlassModel>(Sitecore.Context.Item);
            List <BaseViewModel> model             = CommonMapper.MapContent(contentGlassModel.CentralColumn);

            return(View(model));
        }
Exemplo n.º 2
0
        public ActionResult RightColumn()
        {
            ContentGlassModel    contentGlassModel = CommonMapper.MapItem <ContentGlassModel>(Sitecore.Context.Item);
            List <BaseViewModel> model             = CommonMapper.MapContent(contentGlassModel.RightColumn);

            return(View("AsideColumn", model));
        }