In the previous posts we
created a List, Details and Edit views using Asp.Net Core MVC and Entity
Framework Core to connect to Database view and edit details from SQL Server DB. In this post we will see
on how to create a Delete view which will display the details of an Entity
object (User) and allow us to delete the User from the database.
Similar to Edit, the delete operation will use 2 action methods. A GET method to get and display user details and a POST method to delete the user from the DB.
Similar to Edit, the delete operation will use 2 action methods. A GET method to get and display user details and a POST method to delete the user from the DB.