public DBProcessResult UserInfoModify(string UserCode, string Password) { DBProcessResult result = new DBProcessResult(); try { IUserService ser = new UserService(); EMUser model = ser.GetUser(UserCode); if (Password != "") model.PassWord = Password; ser.Modify(model); result.IsSuccess = true; } catch (Exception ex) { result.IsSuccess = false; result.Message = ex.Message; } return result; }