Пример #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);
 }