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