Вам понадобится другой метод действия, украшенный атрибутом [HttpPost], и он будет принимать тот же объект модели, который вы визуализировали, в качестве формы.
Так что предположим, что следующий метод действий, который вы использовали для созданияформа:
public ActionResult Create(){
var model = new Model();
return View(model);
}
Вам нужно будет создать другой метод, подобный следующему:
[HttpPost]
public ActionResult Create(Model model){
if (ModelState.IsValid){
//write the code to save the object here
return RedirectToAction("Index); //This should be the where the user would go if the "Create" operation was successful
}
return View(model); //Else return the user to the same view and show any errors.
}