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); }
public PaymentServices(ref Shop inputShop) { _myShop = inputShop; _orderServices = new OrderServices(ref _myShop); }