using MealPlan.Api.DTOs.Recipe;

namespace MealPlan.Api.Services;

public interface IRecipeService
{
    Task<IReadOnlyList<RecipeListItemDto>> GetRecipesAsync(int? category, string? search, string? ingredient, CancellationToken ct = default);

    Task<RecipeDetailDto?> GetRecipeByIdAsync(int id, CancellationToken ct = default);

    Task<IReadOnlyList<CategoryCountDto>> GetCategoriesAsync(CancellationToken ct = default);
}
