Beispiel #1
0
 // GET: ModelBinderTest
 public ActionResult Demo4(SimplyObject obj, SimplyObject obj1 = null)
 {
     if (ModelState.IsValid)
     {
     }
     return(View());
 }
Beispiel #2
0
 public ActionResult Demo10([Bind(Prefix = "a", Exclude = "Field1", Include = "Field2")] SimplyObject obj)
 {
     return(View());
 }
Beispiel #3
0
 public ActionResult Demo9(SimplyObject obj)
 {
     return(View());
 }