Exemple #1
0
 @Override
 public List<AnnualBudget> listAll() {
   return budgetRepository.findAll();
 }
Exemple #2
0
 @Override
 @Transactional
 public void saveOrUpdate(AnnualBudget budget, Long teamId) {
   budget.setTeam(teamRepository.findOne(teamId));
   budgetRepository.save(budget);
 }