Q:

how to make an html button do something with razor

<input onclick="SignOut" class="button" type="button" value="Sign Out">

What do I need to do with razor to let the button do something on click.

A:

change type to "submit"
<input onclick="SignOut" class="button" type="submit" value="Sign Out">

