public bool Update(string Id, string Name, string EmailId, string Password, string Image, string Status, string Area, string Notes, string MobileNumber, int IsAdmin) { bool Result = false; try { Result = _userData.Update(Id, Name, EmailId, Password, Image, Status, Area, Notes, MobileNumber, IsAdmin); } catch (Exception) { } return(Result); }
/// <summary> /// 更新用户信息 /// </summary> public bool Update() { return(dataUser.Update( userID, userName, password, trueName, sex, phone, email, employeeID, departmentID, activity, userType, style)); }
public void Update() { Data.User objData = new Data.User(); objData.Update(this); }
/// <summary> /// 更新一个用户 /// </summary> /// <param name="user"></param> /// <returns></returns> public int Update(Model.User user) { return(userData.Update(user)); }
public bool Update() { Data.User user = new Data.User(PubConstant.ConnectionString); return(user.Update(this.userID, this.userName, this.password, this.trueName, this.sex, this.phone, this.email, this.employeeID, this.departmentID, this.activity, this.userType, this.style)); }