예제 #1
0
        protected override TreeNodeCollection GetTreeNodes(string id, FormDataCollection queryStrings)
        {
            var nodes = new TreeNodeCollection();

            nodes.AddRange(_repository.GetAll().Select(contactForm => CreateTreeNode(contactForm.Id.ToString(), "-1", queryStrings, contactForm.Name)));

            return(nodes);
        }
예제 #2
0
 public IEnumerable <Form> GetAll()
 {
     return(_repository.GetAll());
 }