Looking for a way to call a c# function with a button inside one of my views? This seems like something trivial, but I haven't been able to find a solution for this. Any help is appreciated!
This is kinda how I expected it to be implemented, that or a @Html.Button
<input type="button" value="Sign Out" onclick="@SignOut()"/>