private void AddOrderToView(PizzaOrder order)
        {
            Dispatcher.InvokeAsync(() =>
            {
                var orderViewModel = OrderItem.ConvertOrderToViewModel(order);

                this.ViewModel.Orders.Add(orderViewModel);
            });
        }
        private void AddOrderToView(PizzaOrder order)
        {
            Dispatcher.InvokeAsync(() =>
            {
                var orderViewModel = OrderItem.ConvertOrderToViewModel(order,
                                                                       this.ViewModel.Ingredients);

                this.ViewModel.Orders.Add(orderViewModel);

                SendOrderStatus(orderViewModel, "Your order has been received by our store.");
            });
        }