Local government and the market. The case of public service