Ejemplo n.º 1
0
  public static boolean deleteProject(String projectId) {
    TmpProject tmpProject = tmpProjectDAO.getTmpProjectById(Integer.parseInt(projectId));
    tmpProjectDAO.delete(tmpProject);

    return true;
  }
Ejemplo n.º 2
0
 public static ProjectDTO getProjectById(String projectId) {
   ProjectDTO projectDTO =
       ProjectManager.generateProjectDTO(
           tmpProjectDAO.getTmpProjectById(Integer.parseInt(projectId)));
   return projectDTO;
 }