private void deleteProjectWithMembers() throws DAOException {

    projectService.delete(project);

    for (Member member : members) {
      memberService.delete(member);
    }
  }
  private void createProjectWithMembers() throws DAOException {

    for (Member member : members) {
      memberService.create(member);
    }
    project.setMembers(members);

    Long idProject = projectService.create(project);
    project.setId(idProject);
  }