public ManagerMenu(IRepository repo) { this.repo = repo; this.locationMenu = new LocationMenu(repo); this.productMenu = new AddProductMenu(repo); this.inventoryMenu = new InventoryMenu(repo); }
public AddProductMenu(IRepository repo) { this.repo = repo; this.productService = new ProductService(repo); this.locationMenu = new LocationMenu(repo); }