private async Task ConfirmationReceivedAsync(IDialogContext context, IAwaitable <object> awaitable) { string ans = ((Activity)(await awaitable)).Text; if (Miscellany.IsANo(ans)) { await Miscellany.InsertDelayAsync(context); await context.PostAsync("Fine, could you please rephrase what you'd like to do, please?"); await Miscellany.InsertDelayAsync(context); await context.PostAsync("I'm here to help you upgrade a phone, plan or both. Which one do you want to choose?"); context.Wait(MessageReceived); } else { await ProcessLuisResultsAsync(context, this.luisResultCopy); } }