using Models; using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LocalEndpoint { public interface IAccountRecipes { public Account Account { get; } public bool UploadRecipe(Recipe recipe); public bool RemoveRecipe(RecipeInfo info); public void SetRate(RecipeInfo info, AccountRecipeRate rate); public AccountRecipeRate? FindRate(RecipeInfo info); public ImmutableList GetAccountRecipes(); public ImmutableList GetRecommendedRecipes(); public ImmutableList GetFavorites(); public ImmutableList<(RecipeInfo, uint)> GetWeeklyList(); } }