getStaffMemberDao().delete(staffMemberId);
}
@Override
@RolesAllowed(PermissionConstants.SAVE_STAFF_MEMBER)
public StaffMemberEto saveStaffMember(StaffMemberEto staffMember) {
<BUG>Objects.requireNonNull(staffMember, "staffMemaber");
Long id = staffMember.getId();</BUG>
StaffMemberEntity targetStaffMember = null;
if (id != null) {
targetStaffMember = getStaffMemberDao().find(id);

getStaffMemberDao().delete(staffMemberId);
}
@Override
@RolesAllowed(PermissionConstants.SAVE_STAFF_MEMBER)
public StaffMemberEto saveStaffMember(StaffMemberEto staffMember) {
Objects.requireNonNull(staffMember, "staffMember");
Long id = staffMember.getId();
StaffMemberEntity targetStaffMember = null;
if (id != null) {
targetStaffMember = getStaffMemberDao().find(id);
