示例#1
0
        public Synonym GetSynonym(string workspaceId, string entity, string value, string synonym)
        {
            try
            {
                var result = AssistantRepository.GetSynonym(workspaceId, entity, value, synonym);

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

            return(null);
        }