@Override
 public UserInfo getByUserId(Long userId) {
   return userInfoDao.getByUserId(userId);
 }
 @Override
 public void updatePhone(Long userId, String phone) {
   UserInfo userInfo = userInfoDao.getByUserId(userId);
   userInfo.setPhone(phone);
   userInfoDao.update(userInfo);
 }
 @Override
 public void updateAdress(Long userId, String adress) {
   UserInfo userInfo = userInfoDao.getByUserId(userId);
   userInfo.setAdress(adress);
   userInfoDao.update(userInfo);
 }
 @Override
 public void updateLastName(Long userId, String lastName) {
   UserInfo userInfo = userInfoDao.getByUserId(userId);
   userInfo.setLastName(lastName);
   userInfoDao.update(userInfo);
 }
 @Override
 public void updateMiddleName(Long userId, String middleName) {
   UserInfo userInfo = userInfoDao.getByUserId(userId);
   userInfo.setMiddleName(middleName);
   userInfoDao.update(userInfo);
 }
 @Override
 public void updateFirstName(Long userId, String firstName) {
   UserInfo userInfo = userInfoDao.getByUserId(userId);
   userInfo.setFirstName(firstName);
   userInfoDao.update(userInfo);
 }