public ActionResult ModelBindingExample2() { var vm = new ModelBindingViewModel(); vm.AsList(); return(View("ModelBindingExample", vm)); }
public ActionResult ModelBindingExample2(ModelBindingViewModel vm) { vm.AsList(); return View("ModelBindingExample", vm); }
public ActionResult ModelBindingExample2() { var vm = new ModelBindingViewModel(); vm.AsList(); return View("ModelBindingExample", vm); }
public ActionResult ModelBindingExample2(ModelBindingViewModel vm) { vm.AsList(); return(View("ModelBindingExample", vm)); }