예제 #1
0
        public ActionResult ChangeContactInfo(SettingContactViewModel postForm)
        {
            string response;
            bool   change = settingsManager.ChangeContactInformation(postForm, out response);

            if (change)
            {
                Session["updateMessage"] = response;
            }
            else
            {
                Session["errorMessage"] = response;
            }
            return(RedirectToAction("ChangeContactInfo", "Settings"));
        }