示例#1
0
 public ShopServices(ref Shop inputShop)
 {
     inputShop            = SetupDataServices.SetupData();
     _myShop              = inputShop;
     _menuServicesShop    = new MenuShopServices(ref inputShop);
     _orderServicesShop   = new OrderServices(ref inputShop);
     _tableServicesShop   = new TableServices(ref inputShop);
     _paymentServicesShop = new PaymentServices(ref inputShop);
 }
示例#2
0
 public PaymentServices(ref Shop inputShop)
 {
     _myShop        = inputShop;
     _orderServices = new OrderServices(ref _myShop);
 }