State tax filing

My employer paid income tax to NYC. I lived in NY but not in NYC. How do I get a full refund of this amount?