private async Task PromptChoices(IDialogContext context)
        {
            var configuredIndustries = IndustryConfiguration.GetConfiguredIndustries();

            PromptDialog.Choice(
                context,
                ProcessChoice,
                configuredIndustries.Industries.Select(ci => ci.Name),
                Resources.IndustryQuestion,
                Resources.SorryChoose,
                3);
        }
        private bool SimpleIndustryIntent(string message, out string entity)
        {
            entity = null;

            if (string.IsNullOrEmpty(message))
            {
                return(false);
            }

            var industries = IndustryConfiguration.GetConfiguredIndustries();
            var industry   = industries.Industries.FirstOrDefault(x => x.Variants.Any(v => v.ToLowerInvariant().Contains(message.ToLowerInvariant())));

            if (industry != null)
            {
                entity = industry.Name;
                return(true);
            }

            return(false);
        }