public ActionResult ChangePersonalInformation(ChangePersonalInformation model) { Boolean TheResult = false; if (ModelState.IsValid) { Connection.Connection con = new Connection.Connection(); TheResult = con.UpdateUserInformation(model, User.Identity.GetUserId()); } if (TheResult == true) { return(RedirectToAction("Index", new { Message = ManageMessageId.UpdatePersonalInformation })); } else { return(View()); } }