An engineer employed by a board of directors of an improvement district to supervise the work, etc., shall be paid for services a salary or sums that may be agreed upon between the engineer and the board of directors.