Hi,
in my MVC application I have a controller (ProjectController) which has an action (create). The create function accepts a projectEntity (custom 3d party datalayer component) as a parameter. The framework automatically binds the entered form values to the projectEntity object.
This is the create-function signature:
<AcceptVerbs(HttpVerbs.Post)> _
Function Create(<Bind(Exclude:="Id")> ByVal projectToCreate As BLL.projectEntity) As ActionResult
End Function
I have a field called 'requestDate' in the form. How can I specify the POST method so that it passes the projectToCreate object and the additional 'requestDate' from the form?