예제 #1
0
 public ActionResult Create(User userNew)
 {
     if (ModelState.IsValid)
     {
         dbc.Insert(userNew);
         return(RedirectToAction("Index"));
     }
     return(View());
 }