Create --> Show the Empty Form for Create
Add --> Receives data from Create and Save New Entity
Edit --> Shows Existing Entity in a form for editing
Update --> Saves the changes on an existing Entity
??? --> Shows the form for either editing or creating depending on the
situation
Save --> Either saves or updates the entity depending on whether the entity
already exists or not.
public ActionResult Create(){
// this one renders the input form
...
return View();
}
[HttpPost]
public ActionResult Create( MyViewModel model ){
// this one accepts the form postif ( ModelState.IsValid )
{
...
return RedirectToAction( ... );
}
return View( model );
}