* @param workout
* @param message
* @return the id of the workout that was created
*/
public Long addWorkout(Workout workout, String message) {
Entry entry = new Entry();
entry.setMessage(StringUtils.stripToEmpty(message));
entry.setWorkout(workout);
try {
return addEntry(entry);
} catch (Exception e) {
throw new RuntimeException("Unable to add workout", e);
}