Exemple #1
0
        public async Task <ActionResult> Edit(Models.Address address)
        {
            if (ModelState.IsValid)
            {
                await _address.EditAddress(address);

                return(RedirectToAction("Index"));
            }
            return(View(address));
        }