コード例 #1
0
        public IActionResult Index()
        {
            AddressToAddVM address = new AddressToAddVM();
            address.address = new Address();
            address.CreateStateList();

            return View(address);
        }
コード例 #2
0
 public ActionResult AddAddress(AddressToAddVM newAddress)
 {
     return View("Result", newAddress.address);
 }