No water/ice when pressing dispenser

In need a Main Controller Board or the Interface Display Board. I don’t know which. When I depress the Water/Ice dispenser the indicator lights dim and the fan motor slows then comes back to speed. When I depress the "Light" indicator all green lights go out, the motor slows and there is a click sound. Is there any way to determine which of these two boards I need?