CRUD Scaffold
The Quick Way
The previous steps to create inserting, updating and deleting functionality can be quickly produced through a scaffolding feature in Visual Studio.
Create a new folder and then a new Razor page but select:
Select the Film model and the appropriate DBContext:
... and Visual Studio will create the rest.