Exemplo n.º 1
0
 static public async Task OnOperationSelected(IDialogContext context, IAwaitable <IssueDataModel> result)
 {
     try
     {
         _issueSelected = await result;
         var child = new PromptConfirm(Resources.BOT_PROMPT_CONFIRM_CHOICE,
                                       Resources.BOT_PROMPT_CONFIRM_WRONG_CHOICE,
                                       Constant.MaxRetry, PromptStyle.Auto);
         context.Call(child, OnOperationConfirmed);
     }
     catch (TooManyAttemptsException)
     {
         context.Done(Resources.USER_DLG_BACK_TO_START);
     }
 }
 public WithdrawalDomesticOtherATMDialog(IssueDataModel issue)
 {
     _issue = issue;
 }