@Override public List<User> findAll() { return (List<User>) userRepository.findAll(); }
@Override public void deleteUser(Long id) { userRepository.delete(id); }
@Override public User getUser(Long id) { return userRepository.findOne(id); }
@Override public void updateUser(User user) { userRepository.save(user); }
@Override public Long createUser(User user) { userRepository.save(user); return user.getId(); }