I'm not a pro at MVC, it's been a while, but I have not seen syntex like this before, maybe you can help me out here.
I am simply trying to place a button on the page and call code when clicked. Simple enough... I thought.
The Framework for MVC has all been set up, but it's not Razer, I'm not sure what it is, which is why it's confusing. When I invoke this code from my ASPX page, it runs correctly and returns what I expect back from the Controller:
BUT, I want to ONLY invoke this code on a button click. and from doing some research I found code like this:
@using( Html.BeginForm() )
{
@Html.Action("ResetService")%>