Exemple #1
0
        public virtual async Task ChoiceReceivedAsync(IDialogContext context, IAwaitable <string> activity)
        {
            string response = await activity;
            var    service  = new BlockchainService();
            await service.SetRating(Constants.Ratings[response]);

            await context.PostAsync("Thank you. Is there anything else I can help you with?");

            context.Done(true);
        }