public OrderService() { tableService = new TableService(); fullPath = Path.Combine(path, orderFile); if (File.Exists(fullPath)) { Orders = Helper.ReadFile <List <Order> >(fullPath); } else { Orders = new List <Order>(); } }
public ShopService() { tableService = new TableService(); orderService = new OrderService(); paymentService = new PaymentService(); }
public PaymentService() { tableService = new TableService(); orderService = new OrderService(); }