static async Task Main(string[] args) { Console.WriteLine("Mon Application Console fonctionne : "); IRestaurantService restaurantService = new RestaurantService(); //Ici mes tests d'affichage : List <Ingredients> ingredientsPage = await restaurantService.GetAllIngredients(); ingredientsPage.ForEach((ingredient) => { Console.WriteLine(ingredient.Name); }); //Fermeture de la console : Console.ReadLine(); }