Does word "work" have the same meaning in the following two sentences?

The voting process doesn't work as well as people thought.

This method doesn't work.
the same meaning