def comment_destroy(article_id, comment_id): comment = comments() return (comment.destroy(article_id, comment_id))
def comment_update(article_id, comment_id): comment = comments() return (comment.update(article_id, comment_id))
def comment_delete(article_id, comment_id): comment = comments() return (comment.delete(article_id, comment_id))
def comment_store(): comment = comments() return (comment.store())
def comment_edit(article_id, comment_id): comment = comments() return (comment.edit(article_id, comment_id))
def delete_c(article_id, comment_id): comment = comments() return(comment.delete_api(comment_id))
def update_c(article_id, comment_id): comment = comments() return(comment.update_api(comment_id))
def create_c(article_id): new_comment = comments() return(new_comment.store_api(article_id))
def read_c(article_id, comment_id): comment = comments() return(comment.dump_api(article_id, comment_id))
def index_c(article_id): comment = comments() return(comment.dump_api(article_id))