public void TestLoadFile() { string fake = "fake"; var fm = new OrderRepository(); List<Order> actual = fm.LoadOrdersFromFile(fake); Assert.IsTrue(actual !=null); }
public List<Order> GetTodaysOrders() { var p = new OrderRepository(); return p.LoadOrdersFromFile(_filename); }
private void GetListOfOrdersByDate(string currentFile) { var p = new OrderRepository(); Orders = p.LoadOrdersFromFile(currentFile); }