Delete event

Created the option to delete an event by:
*Delete button on each listing
*Clicking delete button removes the listing from database and dashboard view.
where is this used?