@Override
	public void updateIngredient(Ingredient c) throws IngredientRepositoryException {
		validate(c);
		for(int i = 0; i<ingredientRepository.size(); i++){
			if(ingredientRepository.get(i).getIngredientId() == c.getIngredientId()){
				c.setName(c.getName().toUpperCase());
				ingredientRepository.set(i,  c);
				return;
			}
		}
	}