It shall be the duty of the city attorney, city counselor, city engineer and their deputies and assistants to at all times assist and advise the board of park commissioners in all matters pertaining to the duties or affairs of such board.