It doesn't matter, he was in a position of extreme power imbalance where he could show her both favoritism or fire her depending on how things went. It's improper and inappropriate at best, and illegal at worst.