edit: Navigates the user to the edit page for the record that is currently in context. After this operation is finished, the edit action returns the user to the page where the user originally invoked the action.
<apex:commandLink value="Edit" action="{!edit}" />
delete: Deletes the record that is currently in content. After this operation is finished, the delete action either refreshes the page or sends the user to the tab for the associated object.
<apex:commandLink value="Delete" action="{!delete}" />
Enroll in our Salesforce training to become an Expert in Salesforce!