MP's voting in Parliament are not exercising their "democratic right", that is exercised when people vote in an election.
When MP's vote they are fulfilling their democratic duty. To represent the people who sent them there to represent them.
Boris didnt vote to leave twice and he is now PM