I want to be able to pass the id value of a button using an onclick (location.href) from my view to a controller action result. My code is as follows: