public void WriteOutFiltrdAndPriceSortedOrders() { if (Orders.Count > 0 && FilterSize > 0) { Orders = new ObservableCollection <Order> (FilterOrdersSmallerThan(Orders, FilterSize)); } _writer.WriteOrders(Orders.OrderBy(o => o.Price)); }
public void WriteOutOrder() { var orders = _orderStore.GetOrders(); _orderWriter.WriteOrders(orders); }