Initial commit
This commit is contained in:
12
MealPlan.Api/Services/IRecipeService.cs
Normal file
12
MealPlan.Api/Services/IRecipeService.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using MealPlan.Api.DTOs.Recipe;
|
||||
|
||||
namespace MealPlan.Api.Services;
|
||||
|
||||
public interface IRecipeService
|
||||
{
|
||||
Task<IReadOnlyList<RecipeListItemDto>> GetRecipesAsync(int? category, string? search, CancellationToken ct = default);
|
||||
|
||||
Task<RecipeDetailDto?> GetRecipeByIdAsync(int id, CancellationToken ct = default);
|
||||
|
||||
Task<IReadOnlyList<CategoryCountDto>> GetCategoriesAsync(CancellationToken ct = default);
|
||||
}
|
||||
Reference in New Issue
Block a user