From his own mouth, when asked about eternal life, he told people they had to
follow the commandments.
The keeping of the sabbath is a law made for man and not God; so Christ didn't do away with it, just showed there are sometimes more important things to attend to, than silly ritualistic practises.
From Paul, he never did away with the commandments; he stated the law of Moses was fulfilled/ended.
So the commandments still stand according to Christ, and are the way to gain eternal life, and needed to even enter heaven.