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