In the first case,
Who consoled you?
"Who" is the subjective
The question is indicating exactly "who" di the action (console) to the objective, "you"
The second one
In my opinion, it would be
Who did you console?
"Who" is the objective , which accepts the actions from the subjective, "you"