reloadIngredientsFromServer

suspend fun reloadIngredientsFromServer(): List<Ingredient>

TODO to be improved by loading only in the user language ? Load ingredients from (the server or) local database If SharedPreferences lastDownloadIngredients is set try this : if file from the server is newer than last download delete database, load the file and fill database, else if database is empty, download the file and fill database, else return the content from the local database.

Return

The ingredients in the product.