Example Case 2 - Updating a single shift
In this example, two calls are replaced with a single call to the new service.
Before
EsShiftCDO esc = getShift();
// make changes to a shift
shiftService.updateShiftSummary(esc.getEss());
shiftService.updateShiftDetails(esc.getShiftDetails());
After
EsShiftCDO esc = getShift();
// make changes to a shift
flatShiftService.updateShift(esc);;