Members of the board of education shall be immune from any civil liability whatsoever, be it in contract, tort, or otherwise, for any action or inaction taken by members in their official capacity as members of the board and done within the line and scope of their authority as members of the board.