using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Model { public interface IRecipeManager { Recipe? CurrentSelected { get; set; } RecipeCollection GetAllRecipes(); Recipe GetRecipeFromId(int id); RecipeCollection SearchRecipeByTitle(string title); RecipeCollection GetRecipeByAuthor(string authorMail); RecipeCollection GetRecipesByPriorityOrder(IEnumerable priority); bool AddRecipeToData(Recipe recipe); bool ModifyCurrentSelected(Recipe newRecipe); } }