public User getByMail(String email) {
   log.info("getByEmail " + email);
   return service.getByEmail(email);
 }
 public void update(User user, int id) {
   user.setId(id);
   log.info("update " + user);
   service.update(user);
 }
 public void delete(int id) {
   log.info("delete " + id);
   service.delete(id);
 }
 public User create(User user) {
   user.setId(null);
   log.info("create " + user);
   return service.save(user);
 }
 public User get(int id) {
   log.info("get " + id);
   return service.get(id);
 }
 public List<User> getAll() {
   log.info("getAll");
   return service.getAll();
 }