Ejemplo n.º 1
0
 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>();
     }
 }
Ejemplo n.º 2
0
 public ShopService()
 {
     tableService   = new TableService();
     orderService   = new OrderService();
     paymentService = new PaymentService();
 }
Ejemplo n.º 3
0
 public PaymentService()
 {
     tableService = new TableService();
     orderService = new OrderService();
 }