// add
errors = projectService.add(basicProjectForm.getCode(),
basicProjectForm.getName(), user.getPersistanceId());
} else {
// update
errors = projectService.update(basicProjectForm
.getPersistanceId(), basicProjectForm.getCode(),
basicProjectForm.getName(), basicProjectForm
.getPersistanceVersion());
}