@Override
 public Set<FrequencyEntity> getAllFrequencies() {
   return frequencyDao.getAllSortBy("id");
 }
 @Override
 public FrequencyEntity getFrequencyById(Integer frequencyId) {
   return frequencyDao.getById(frequencyId);
 }
 @Override
 public CronTaskEntity getCronTaskByFrequencyName(String name) {
   FrequencyEntity frequencyEntity = frequencyDao.getByFrequencyName(name);
   return cronTaskDao.getByFrequency(frequencyEntity);
 }