public ActionResult Create(FormCollection collection) { try { // TODO: Add insert logic here var model = new Memo(); TryUpdateModel(model); model.Insert(); return(RedirectToAction("Index")); } catch { return(View()); } }