work
On
Project
Function to execute the request to delete or leave the project
Parameters
am IThe Project Author
: whether the user who requested the action is the author of the project it will be deleted
on Success
: the action to execute when the request has been successful