public String editDish(String dishId) { dish = dishService.findById(Integer.parseInt(dishId)); return "createDish"; }
public String addDish() { dish.setCategory(categoryService.find(categoryId)); dishService.save(dish); return "administerMenuCategories"; }
public String refreshDishesByCategoryList(String categoryId) { category = categoryService.find(Integer.parseInt(categoryId)); dishes = dishService.findByCategory(category); return "administerMenu"; }