예제 #1
0
 public int Save(Role role)
 {
     if (role.id > 0)
     {
         _roleDao.Update(role);
         return role.id;
     }
     return _roleDao.Insert(role);
 }
예제 #2
0
 public int Insert(Role role)
 {
     return _roleDao.Insert(role);
 }
예제 #3
0
 public PlantUserVO(User user, Role role)
 {
     this.user = user;
     this.plantRole = role;
 }