7-5-2104. Direction of lawsuits. The board of county commissioners has jurisdiction and power, under such limitations and restrictions as are prescribed by law, to direct and control the prosecution and defense of all suits to which the county is a party.