public ActionResult Create(CreateViewModel model) { if (ModelState.IsValid) { Job job = new Job { name = model.name, createDate = DateTime.Now }; jobDAL.Create(job); return(RedirectToAction("Index")); } return(View(model)); }