Assigns a team to workplaces in the given office.
1 team object
the team object.
2 officeBuilding object
the office to assign to.