US321 refactoring common code to private method
US321 refactoring common code to private method


Former-commit-id: e39541ad0533f63c7269f63737955d9e894587ab
dvla/vrm-retention-online,dvla/vrm-retention-online,dvla/vrm-retention-online,dvla/vehicles-online,dvla/vehicles-online,dvla/vrm-retention-online,dvla/vehicles-presentation-common,dvla/vehicles-presentation-common,dvla/vehicles-online,dvla/vehicles-online,dvla/vehicles-presentation-common