public ActionResult PersonalPhrase(ProfileManagementModels.PersonalPhraseViewModel model, string pColor) { try { int userID = UserLoginData.GetSessionID(Session["UserLoggedIn"]); if (ModelState.IsValid) { userBLL.ChangePersonalPhrase(userID, model.PersonalPhrase, pColor); return(RedirectToAction("ProfileManagement")); } return(View("ProfileManagement", new ProfileManagementModels(userBLL.GetUserInformation(userID), model))); } catch (Exception ex) { return(this.ManageException(ex, "ProfileManagement")); } }