public ActionResult Changepwd(BxAccountChangePassWordViewModel newchangepwd, int id = 0)
        {
            Response _resp = new Response();

            if (!ModelState.IsValid)
            {
                _resp.Status  = 0;
                _resp.Message = General.GetModelErrorString(ModelState);
                return(Json(_resp));
            }
            _resp = _bxaccountmanager.ChangePassword(id, Security.SHA256(newchangepwd.Newpwd));
            return(Json(_resp));
        }
        public ActionResult Changepwd(BxAccountChangePassWordViewModel newchangepwd, int id = 0)
        {
            Response _resp = new Response();

            if (!ModelState.IsValid)
            {
                _resp.Status  = 0;
                _resp.Message = General.GetModelErrorString(ModelState);
                return(Json(_resp));
            }
            BxAccount _bxaccount = _bxaccountmanager.FindByAccount(Session["username"].ToString());

            _resp = _bxaccountmanager.ChangePassword(_bxaccount.BxAccountId, Security.SHA256(newchangepwd.Newpwd));
            if (_resp.Status == 1)
            {
                Session.Clear();
                _resp.Url     = Url.Action("login", "account", new { area = "bx" });
                _resp.Message = "恭喜,修改密码成功!";
            }
            return(Json(_resp));
        }