public ActionResult Create([Bind(Include = "student_id,name,surname,course")] student student) { if (ModelState.IsValid) { db.student.Add(student); db.SaveChanges(); return RedirectToAction("Index"); } return View(student); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)