I code the EF core with MVC project in this tutorial "https://learn.microsoft.com/en-us/aspnet/core/data/ef-mvc/crud? View=aspnetcore-8.0#the-create-and-attach-approach-to-httppost-delete"<p>The example code has a search for the delete one to DB.
And this method has not searching steps, I can't agree with this way more.
So why not use the best way with no searching step s directly in learning article?