Пример #1
0
 public static List<Comment> GetList(Comment pObject,List<Comment> pModels)
 {
     var result = pModels.Where(x => x.ParentId == pObject.Id).ToList();
     return result;
 }
Пример #2
0
        public static List <Comment> GetList(Comment pObject, List <Comment> pModels)
        {
            var result = pModels.Where(x => x.ParentId == pObject.Id).ToList();

            return(result);
        }