DeleteAction.md - brainchildservices/curriculum GitHub Wiki
Slide 1
DELETE
Delete is used to remove a record from the table.
Slide 2
In our LocalHost:5001/Mentor
page we have 3 row of information is available. I can choose which ever data need to be removed from the Table. Because we've add Delete action method in every row. once I Click on any row it will take me to a different page LocalHost:5001/Mentor/Delete/3
, as you can see there is a number at the end of the URL, which comes because, we have Unique ID for Every entry we make in our database, so when we perform an action method the data is finding based on the ID.
Slide 3
in the new Page we Can see the Details of the item, so that we can confirm we are going to delete the correct item. once we Verified the item press on the delete button and its gone.
Slide 4
As you can see we had 3 items in our table but currently only 2 items is left.