Refactoring CommentRepository add method