North Carolina Democrats were a rare case of success in an election otherwise devastating for the party.