@Transactional(propagation = Propagation.REQUIRED) public List<Order> findAllOrders() { return orderDao.findAllOrders(); }
@Transactional(propagation = Propagation.REQUIRED) public Order getById(int id) { return orderDao.getById(id); }
@Transactional(propagation = Propagation.REQUIRED) public void deleteDish(Dish dish, Order targetOrder) { orderDao.deleteDish(dish, targetOrder); }
@Transactional(propagation = Propagation.REQUIRED) public void delete(Order order) { orderDao.delete(order); }
@Transactional(propagation = Propagation.REQUIRED) public void create(Order order) { orderDao.addOrder(order); }
@Transactional(propagation = Propagation.REQUIRED) public void closeOrder(Order order) { orderDao.closeOrder(order); }