public ActionResult UpdateCustomerDetails(ExtendedCustomer extendedCustomer) { var status = customerAccountService.UpdateCustomer(extendedCustomer); if (status == MembershipCreateStatus.Success) { return(RedirectToAction("Index", "MyAccount")); } ; return(RedirectToAction("ReportError", "Services", new ReportErrorViewModel { ErrorMessage = "Can't update user details" })); }