Any where the female lead only dates the male lead at first because she's indebted to him in some way? Male lead doesn't know and is in love with her. She's in love with the second male lead. The male lead finds out, but then she realizes she loves the male lead and they truly get together.
OR
She's only dating the second lead because she's in debted to him. She's in love with the male lead and in the end gets together with him.
So in both cases, she ends up with the male lead.