private List <Order> AddOrders(int count) { List <Order> orders = new List <Order>(); for (int i = 0; i < count; i++) { Order order = CreateOrder(); entities.AddToOrders(order); orders.Add(order); } return(orders); }
private List <Order> AddOrders(int count) { List <Order> orders = new List <Order>(); for (int i = 0; i < count; i++) { Order order = CreateOrder(); entities.AddToOrders(order); orders.Add(order); } return(orders); }