Esempio n. 1
0
        public static List <PastOrder> CreateSeveral(List <ProcessingOrder> processingOrders, User user)
        {
            List <PastOrder> pastOrders = new List <PastOrder>();

            foreach (ProcessingOrder processingOrder in processingOrders)
            {
                PastOrder pastOrder = PastOrderFactory.Create(processingOrder, user);
                pastOrders.Add(pastOrder);
            }
            return(pastOrders);
        }