mvc add button onclick url code example
Example: button action asp net
<input type="button" value="Create" onclick="location.href='@Url.Action("Create", "User")'" />
<input type="button" value="Create" onclick="location.href='@Url.Action("Create", "User")'" />