public ActionResult GetPartialAddress(CustomerProfileModel model) { if (ModelState.IsValid) { profiles.Edit(model); } return(RedirectToAction("MyPage")); }
public ActionResult Shipping(CustomerProfileModel model) { if (ModelState.IsValid) { // Save the profile for next time. customerProfiles.Edit(model); // Return Payment view return(RedirectToAction("Payment")); } return(View(model)); }