One elected official takes photos of himself in various provocative poses including one of his manhood. He sends these photos to a few select ladies, the youngest is purported to be 17 years old but one is 26 and another is a porn star. To date there are no allegations that he broke any actual laws. Following this the airways ring with cries for him to resign and that he is unfit. Finally he does resign after pressured from every direction including his party.
Another elected official (the same party no less!) actually uses his manhood with an intern (who actually works in his office). The intern is about 24 years of age. The major media (ABC, CBS, NBC, CNN, MSNBC, NYT, etc) and his party rallies around him in full fledged defense. This is a matter between him and his wife they cry. This elected official lies (under oath) and clearly had sex with a subordinate and tells his staff to come out and defend him (and they do).
One man has his secretary conceal evidence. The other urges a porn star to tweet a lie (but not under oath). One is forced out and one is defended – but the one that committed the actual crimes is the one defended and the one that simply sent photos and urged a lie (not under oath and not to an officer) is hounded out of office.
Only in the Democratic Party would the criminal be defended while the one engaging in questionable (but legal) conduct is hounded out of office.