public virtual bool DeleteImage(string listId, string imageId)
 {
     return(PolicyService.ExecuteRetryAndCapture400Errors(
                "ContentModeratorService.DeleteImage",
                ApiKeys.ContentModeratorRetryInSeconds,
                () =>
     {
         ContentModeratorRepository.DeleteImage(listId, imageId);
         return true;
     },
                false));
 }
        public virtual bool DeleteImage(string listId, string imageId)
        {
            try
            {
                ContentModeratorRepository.DeleteImage(listId, imageId);

                return(true);
            }
            catch (Exception ex)
            {
                Logger.Error("ContentModeratorService.DeleteImage failed", this, ex);
            }

            return(false);
        }