示例#1
0
 public void loadUser(int id) {
   UserBean bean = iUserModel.load(id);
   iUserView.setName(bean.getName());
   iUserView.setAge(bean.getAge());
 }
示例#2
0
 public void saveUser(int id, String name, int age) {
   iUserModel.setId(id);
   iUserModel.setName(name);
   iUserModel.setAge(age);
 }