private void HandleRetriveTemplateParentNodes(object sender, object e)
        {
            var nodes = templateCatalogModel.GetTemplateCatalogNodes();

            if (nodes != null)
            {
                var parentNodes = new List <TemplateCatalogNode>();
                foreach (var node in nodes)
                {
                    parentNodes.AddRange(node.ChildTemplateNodeList);
                }
                this.View.PopulateTemplatesParentNodes(parentNodes);
            }
        }
 public List <TemplateCatalogNode> GetTemplateCatalogNodes()
 {
     return(templateCatalogModel.GetTemplateCatalogNodes());
 }