Every municipality shall have power to lease or sell or give and convey any personal or real property of the municipality or perform any work or render any services, to the state or any public corporation thereof, to be used by such grantee for an authorized public purpose; such lease or sale or gift and conveyance, or the performance of such work, to be authorized, made, or done on the terms and in the manner provided by resolution of the governing body.
SDCL 9-12-5