public int getManagerNumbers() { locationDB = new LocationDB(); locationDB.selectManagerNumbers(location); int managerNumbers = location.getManagerNumbers(); return(managerNumbers); }
public int getLocationManagerNumbers(string locationName) { location = new Location(); locationDB = new LocationDB(); location.setName(locationName); locationDB.selectManagerNumbers(location); int managerNumbers = location.getManagerNumbers(); return(managerNumbers); }