I'm using an ASP.NET MVC usercontrol to represent a form for both a "create" mode and an "edit" mode.
The form involves a file upload so looks something like this:
<% using (Html.BeginForm("Create", "News", FormMethod.Post, new { enctype = "multipart/form-data" }))
How can I make it post to the Create action in create mode and Edit action in edit mode?
I'm rendering it in the View like this:
<% Html.RenderPartial("NewsForm"); %>