コード例 #1
0
        public virtual MatchResponse Match(string imageUrl, string listId = "")
        {
            try
            {
                var result = Task.Run(async() => await ContentModeratorRepository.MatchAsync(imageUrl)).Result;

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

            return(null);
        }