5.4: Create [Post] Method
Steps
public ActionResult Create() { return View(); } //Add code here vvvv [HttpPost] [ValidateAntiForgeryToken] public ActionResult Create(NoteCreate model) { if (ModelState.IsValid) { } return View(model); } } }
QuickWatch and Data
Persist a Note
Last updated


