public List<TdDiyLog> findAll() { return (List<TdDiyLog>) repository.findAll(); }
public void delete(Long id) { if (null != id) { repository.delete(id); } }
public TdDiyLog findOne(Long id) { if (null == id) { return null; } return repository.findOne(id); }
public TdDiyLog save(TdDiyLog log) { if (null == log) { return log; } return repository.save(log); }