public ActionResult Delete(string id) { CustomerAccount u = MTApp.CurrentCustomer; if (u != null) { u.DeleteAddress(id); MTApp.MembershipServices.UpdateCustomer(u); } return(RedirectToAction("Index")); }