Ejemplo n.º 1
0
        public async Task IssueCategory(IDialogContext context, IAwaitable <object> result)
        {
            List <string> category = new List <string>();

            category = SQLManager.ChooseIssueCategory();
            RootDialog.BotResponse = SQLManager.GetITQuestions(1);
            SQLManager.GetConversationData(UserData.UserID, RootDialog.UserResponse, RootDialog.BotResponse);
            //await context.PostAsync(RootDialog.BotResponse);
            PromptDialog.Choice(context, this.ChooseIssue, category, RootDialog.BotResponse);
        }