I\'m brand new to all things .NET. I have a very basic web page with an HTML form. I want \'onsubmit\' to send the form data from the View to the Controller. I\'ve seen s
Defining a form in the following way:
@using (Html.BeginForm("ControllerMethod", "ControllerName", FormMethod.Post))
Will make a call to the method "ControllerMethod" in the controller "ControllerName". In the method you can accept a model, or other data types as inputs. See this tutorial for examples using forms and razor mvc.