Removed unused methods as GenericDAO.getLastId() no longer (need to) exist.

Issue: BMS-176