public bool Delete(RmResource resource) { Initialize(); _log.Info("Deleting resource {0} of type {1}", resource.ObjectID.Value, resource.ObjectType); bool deleted = false; try { deleted = _defaultClient.Delete(resource.ObjectID); } catch { // catching exc - meaning that object not found _log.Warn("Could not delete object with id {0} not found", resource.ObjectID.Value); } return(deleted); }