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