public Create ( ) : System.Web.Mvc.ActionResult | ||
return | System.Web.Mvc.ActionResult |
public ActionResult Create()
{
// Create a form
var form = new VehicleAddForm();
// Configure the SelectList for the item-selection element on the HTML Form
form.ManufacturerList = new SelectList(m.ManufacturerGetAll(), "Id", "Name");
return View(form);
}
VehiclesController::Create ( |