public ActionResult EditAccount(EditAccountModel model)
        {
            if (model != null)
            {
                UserInfo user = model.UpdateEntity(this.LoginUser());
                this.IUserInfoDataProvider.Update(user);
                model.FloorList = DropDownListHelper.GetFloorList(model.Floor.ToString());
                model.IsSave = true;
            }

            return View(model);
        }
        public ActionResult EditAccount()
        {
            UserInfo user = this.LoginUser();
            EditAccountModel model = new EditAccountModel();

            if (user != null)
            {
                model = EditAccountModel.GetViewModel(user);
                model.FloorList = DropDownListHelper.GetFloorList(model.Floor.ToString());
            }

            return View(model);
        }
        public static EditAccountModel GetViewModel(UserInfo user)
        {
            EditAccountModel model = new EditAccountModel();

            model.DisplayName = user.DisplayName;
            model.LoginName = user.LoginName;
            model.RealName = user.RealName;
            model.Email = user.Email;
            model.Floor = user.Floor;
            model.PM = user.PM;
            model.Team = user.Team;
            model.Chinese_Name = user.Chinese_Name;
            model.Wechat = user.Wechat;
            model.Grade = EnumHelper.GetEnumDescription(user.Grade);
            model.Late_point = user.Late_point;
            model.Remark = user.Remark;

            return model;
        }