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