public async Task Commander(IDialogContext context, WitResult result)
        {
            var form = OrderForm.ReadFromWit(result);

            if (string.IsNullOrWhiteSpace(form.Item) || form.Count < 1 || form.DeliveryDate == null)
            {
                var setLeavesForm = new FormDialog <OrderForm>(form, OrderForm.BuildForm, FormOptions.PromptInStart);
                context.Call(setLeavesForm, ResumeAfterOrderFormCompleted);

                return;
            }

            await ResumeOrder(context, form);
        }
        public async Task Commander(IDialogContext context, WitResult result)
        {
            var form = OrderForm.ReadFromWit(result);

            if (string.IsNullOrWhiteSpace(form.Item) || form.Count < 1 || !form.DeliveryDate.HasValue)
            {
                await context.PostAsync("Des informations sont manquantes");

                return;
            }

            await context.PostAsync($"Vous avez commandé {form.Count}x {form.Item}");

            await context.PostAsync($"Vous serez livré à partir de {form.DeliveryDate.Value.ToString("HH\\hmm")} le {form.DeliveryDate.Value.ToString("dd/MM/yyyy")}");
        }