public ActionResult Create(Employee employee) { if (ModelState.IsValid) { db.InsertNew(employee); return(RedirectToAction("Index", "Home")); } return(View()); }