Example #1
0
        private static void NotifyOrders(Asset asset)
        {
            var solicitation = new Solicitation(asset);
            var approval     = new Approval(asset, "Approver", DateTime.UtcNow);
            var cancellation = new Cancellation(asset, "Canceler", DateTime.UtcNow, "Incorrect order.");

            solicitation.Notify();
            approval.Notify();
            cancellation.Notify();
        }