public virtual GetImagesResponse GetAllImageIds(string listId) { try { var result = Task.Run(async() => await ContentModeratorRepository.GetAllImageIdsAsync(listId)).Result; return(result); } catch (Exception ex) { Logger.Error("ContentModeratorService.GetAllImageIds failed", this, ex); } return(null); }