Delete a Movie

Remove a movie from the list

This feature removes a movie from the database. Only an admin user can carry out this action, which takes the item off the list of things that need to be reviewed.

Setting up the controller

This controller only requires the movie_id to be supplied as a parameter. The system looks for that ID in the database and then deletes the movie whose details match that ID. Yes, it’s that easy!

Get hands-on with 1200+ tech skills courses.