public ICollection <CommentDto> FindAllComments(long eventId, int startIndex, int count) { Event myEvent = EventDao.Find(eventId); ICollection <Comment> comments = CommentDao.FindCommentsOrderByDate(eventId, startIndex, count); ICollection <CommentDto> commentsDto = new HashSet <CommentDto>(); foreach (Comment comment in comments) { commentsDto.Add(new CommentDto(comment, eventId)); } return(commentsDto); }