Check out example codes for "button action asp net". It will help you in understanding the concepts better.

Code Example 1

<input type="button" value="Create" onclick="location.href='@Url.Action("Create", "User")'" />

Learn ReactJs, React Native from akashmittal.com