Ejemplo n.º 1
0
 public ActionResult Create([Bind(Exclude = "[SchoolID]")] School schoolToInsert)
 {
     if (ModelState.IsValid)
     {
         DA_School.AddSchool(schoolToInsert);
         return(RedirectToAction("Index"));
     }
     return(View());
 }