public ActionResult Create([Bind(Include = "TeacherID, TeacherName")] CreateTeacherViewModel vm) { if (ModelState.IsValid) { repo.AddTeacher(vm); return(RedirectToAction("Index")); } return(View(vm)); }