- implemented business method for deleting user accounts
Signed-off-by: Roland Häder <roland@mxchange.org>
Contact managedContact = this.getEntityManager().find(user.getUserContact().getClass(), user.getUserContact().getContactId());
// Should be found!
- assert (managedContact instanceof Contact) : MessageFormat.format("Contact with id {0} not found, but should be.", managedContact.getContactId()); //NOI18N
+ assert (managedContact instanceof Contact) : MessageFormat.format("Contact with id {0} not found, but should be.", user.getUserContact().getContactId()); //NOI18N
// Set detached object in rexcruiter instance
user.setUserContact(managedContact);