public static List<Comment> GetList(Comment pObject,List<Comment> pModels) { var result = pModels.Where(x => x.ParentId == pObject.Id).ToList(); return result; }
public static List <Comment> GetList(Comment pObject, List <Comment> pModels) { var result = pModels.Where(x => x.ParentId == pObject.Id).ToList(); return(result); }