Exemple #1
0
        public ActionResult SaveUser(UserModel user)
        {
            string message = "";
            bool   result  = _userManage.SaveUser(user, out message);

            if (result)
            {
                return(RedirectToAction("Index"));
            }
            return(RedirectToAction("EditUser"));
        }