public PartialViewResult GetContentPanel(NodeDTO node) { IViewModel vm = new ContentViewModel { NodeID = node.NodeID, NodeType = node.NodeType.ToString().Replace("_", ""), ApplicationID = node.ApplicationID, CatalogID = node.CatalogID }; var panel = ContentModel.GetContentPanel((int)node.NodeType); vm.ContentPanelSections = panel.ContentPanelSections; return(PartialView(panel.PartialViewName, vm)); }