Exemplo n.º 1
0
        public void OrderShippedNotification(OrderShippedDTO order)
        {
            OrderBusinessComponent bc = DependencyInjectionHelper.GetOrderBusinessComponent();
            bc.SetOrderShipped(order.Id, order.ShippedDate);

            Console.WriteLine(string.Format("Status of Order with ID {0} updated!", order.Id));
        }
Exemplo n.º 2
0
        public void OrderShippedNotification(OrderShippedDTO order)
        {
            OrderBusinessComponent bc = DependencyInjectionHelper.GetOrderBusinessComponent();

            bc.SetOrderShipped(order.Id, order.ShippedDate);

            Console.WriteLine(string.Format("Status of Order with ID {0} updated!", order.Id));
        }