Example #1
0
      public async Task SelectBuilding(IDialogContext context, IAwaitable <object> result)
      {
          List <string> buildings = new List <string>();

          buildings = SQLManager.DisplayBuilding();
          RootDialog.BotResponse = SQLManager.GetVisitorBadgeQuestions(17);
          PromptDialog.Choice(context, this.VistorName, buildings, RootDialog.BotResponse, "Invalid input");
      }