Resignations came quickly this week from two congressmen accused of sexual misconduct toward staff members.