public virtual bool DeleteAllImage(string listId) { return(PolicyService.ExecuteRetryAndCapture400Errors( "ContentModeratorService.DeleteAllImage", ApiKeys.ContentModeratorRetryInSeconds, () => { ContentModeratorRepository.DeleteAllImage(listId); return true; }, false)); }
public virtual bool DeleteAllImage(string listId) { try { ContentModeratorRepository.DeleteAllImage(listId); return(true); } catch (Exception ex) { Logger.Error("ContentModeratorService.DeleteAllImage failed", this, ex); } return(false); }