I am making a website in Visual Studio. I have the front end basically completed. It is a one-page website with two buttons. When you click a button, it should run a batch file by 1) when the user clicks the button, a controller is accessed and runs a method, 2) which finally needs to run a batch file.
My question is, why isn’t this HTML:
<input type=“button” class=“DisconnectButton” value=“Disconnect” onclick="@Url.Action(“Test”, “HomeController”)" />
accessing the controller?