/** ********** CRUD *********** */ public CommentAttributes createComment(CommentAttributes comment) throws InvalidParametersException, EntityAlreadyExistsException, EntityDoesNotExistException { verifyIsCoursePresent(comment.courseId, "create"); verifyIsInstructorOfCourse(comment.courseId, comment.giverEmail); return commentsDb.createEntity(comment); }