// // GET: /Default1/ public ActionResult Index() { User u = new User() { Name = "Mike", Password = "******", Email = "*****@*****.**", UserId = 1, Address = new Address() { City = "Detroit", StateCode = "MI", Line1 = "600 Woodward", Zip1 = 48088 } }; return View("Index", u); }
// // GET: /Default1/Create public ActionResult Create(User u) { return View(); }