public ManagerMenu(IRepository repo) { this.repo = repo; this.locationMenu = new LocationMenu(repo); this.productMenu = new AddProductMenu(repo); this.inventoryMenu = new InventoryMenu(repo); }
/// <summary> /// Customer menu constructor /// </summary> /// <param name="repo"></param> public CustomerMenu(IRepository repo) { this.repo = repo; this.orderMenu = new OrderMenu(repo); this.inventoryMenu = new InventoryMenu(repo); }