The bill was passed in the senate 219–212.
That would have been an interesting trick since there are only 100 Senators.
As to what the electorate voted for: The current makeup of the House of Representatives also represents the electorate, just at the local level rather than the entire country. There is considerable opposition to the ACA in various parts of the country.
I agree with tootired, just let the dems own it. If its the mess the Republicans think its going to be, the Democrats can clean it up.