ProjectUser dbUser = projectUserService.getProjectUser(project.getCreatedById());
model.addAttribute("projectUser", dbUser);
model.addAttribute("project", project);
//
if (projectUser != null) {
ProjectLink projectLink = projectLinkService.getProjectLink(projectUser.getProjectId(), project.getId());
model.addAttribute("projectLink", projectLink);
model.addAttribute("fromProject", projectUser.getProject());
model.addAttribute("toProject", project);
}
//