public int availableSupervisorInLocation(string locationName) { locationControl = new LocationControl(); employee = new Employee(); employeeDB = new EmployeeDB(); int locationID = locationControl.getEmployeeLocationID(locationName); employee.setLocationID(locationID); employeeDB.countSupervisorInLocation(employee); return(locationControl.getSupervisorNumbers() - employee.getNumberOfEmployee()); }