예제 #1
0
        public async Task StartAsync(IDialogContext context)
        {
            await Task.CompletedTask;

            _userName  = context.FindUserName();
            _packageId = context.FindPackageId();

            if (!string.IsNullOrEmpty(_packageId))
            {
                context.Call(new ConfirmPackageIdResuse(_packageId), AfterConfirmIdReuseAsync);
            }
            else
            {
                context.Call <string>(new AskForPackageId(), AfterAskingForPackageIdAsync);
            }
        }