See the example of document insert event: https://docs.kentico.com/k12/custom-development/handling-global-events
Delete handler works the same way.
private void Document_Insert_After(object sender, DocumentEventArgs e)
{
// Add custom actions here
}
DocumentEventArgs e parameter that is passed to the method contains reference to the document you're making action with:
e.Node
Hope that helps.