A prosecutor based at the Johannesburg magistrate's court who was being investigated for allegedly scamming jobseekers by charging them R10,000 and promising to find them jobs resigned in the middle of investigations.