Ejemplo n.º 1
0
        public List <Comment> GetCommentList(int id)
        {
            var list   = clientServiceClient.GetCommentListById(id).ToList();
            var result = new List <Comment>();

            list.ForEach(cm => result.Add(new Comment
            {
                Comment1 = cm.Comment1
            }));
            return(result);
        }