"ContactPersons", user, resList, ""
)
);
}
public static Result view(Long id) {
<BUG>User user = User.findByEmail(request().username());
Logger.debug("view contact person");
return ok(
view.render(
models.ContactPerson.findById(id), user
)
);</BUG>
}

"ContactPersons", user, resList, ""
)
);
}
public static Result view(Long id) {
User user = User.findByEmail(request().username());
ContactPerson contactPerson = ContactPerson.findById(id);
if (contactPerson == null) return notFound("There is no Contact Person with ID " + id);
Logger.debug("view contact person");
return ok(view.render(contactPerson, user));
}
