public class DeleteBookAction: ActionOnResource

    {

        public override void Execute( IActionContext context )

        {

            foreach( IResource res in context.SelectedResources )

            {

                new ResourceProxy( res ).DeleteAsync();

            }

        }

    }