Scaffold the model

we can automatically generate create,update and delete classes from a model . 1:- In visual studio right click on pages folder and create new folder Pages 2:- Right click on this new folder and click Add > New Scaffolded Item. 3:- In the Add Scaffold dialog, select Razor Pages using Entity Framework (CRUD) > Add. 4:- complete this process

Continue reading