How can I use the attachinterrupt function

How can I use te attachinterrupt function to adjust the brightness of an led. increase and decrease with 2 separate switches

I suppose you could use attachInterrupt() to detect the button presses. But it would be completely unnecessary. Just use digitalRead().