Should they get paid????

My thought regarding the election ..
If parliament is dissolved ... that means they can't vote, pass laws, do anything that "runs" the country.. so why are they paid... ???
If parliament is dissolved ... that means they can't vote, pass laws, do anything that "runs" the country.. so why are they paid... ???