If you ignore a mismatch in '}' in your code nothing is wrong here. You only have to write correct URL in the browser -
Here you need to take care of the Route URL. which refers to Customer so that has to be present in the URL. And, a parameter which refers to the Id.
I hope this helps. :)