README
Create or find at db new ingredient new ingredient and attach it to grocery list | by passing ingredient_id and grocery_id |
Method moves ingredient from one department to another(can work only with custom ingredients) | |
Method that changes the ingredients -> name works only with custom ingredients | |
Method that delete array of ingredients | |
Remote method!Create a new custom ingredinet+ save it to db | passed user_id, grocery_id, department_id and ingredient |
Method that will called only if we want to edit not a custom element(we cannot edit main ingredient from our imported database, because this will take affect to other users). So we basically grab grocery_id, department_id and create a new ingredient( | |
Method that get list of ingredients from department | by passing grocery_id, department_id |
Last updated