You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
778 B
33 lines
778 B
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<RecipeInfo> GetAccountRecipes();
|
|
|
|
public ImmutableList<RecipeInfo> GetRecommendedRecipes();
|
|
|
|
public ImmutableList<RecipeInfo> GetFavorites();
|
|
|
|
public ImmutableList<(RecipeInfo, uint)> GetWeeklyList();
|
|
}
|
|
}
|