Both New York State and New York City have recently enacted new legislation that targets sexual harassment in the workplace.