* Extended functionalities
* Added different UIs
This commit is contained in:
11
MealPlan.Api/Services/IMealPlanService.cs
Normal file
11
MealPlan.Api/Services/IMealPlanService.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using MealPlan.Api.DTOs.MealPlan;
|
||||
|
||||
namespace MealPlan.Api.Services;
|
||||
|
||||
public interface IMealPlanService
|
||||
{
|
||||
Task<IReadOnlyList<MealPlanEntryDto>> GetEntriesAsync(Guid userId, DateOnly from, DateOnly to, CancellationToken ct = default);
|
||||
Task<MealPlanEntryDto?> UpsertEntryAsync(Guid userId, UpsertMealPlanEntryDto dto, CancellationToken ct = default);
|
||||
Task<bool> DeleteEntryAsync(Guid userId, int id, CancellationToken ct = default);
|
||||
Task<IReadOnlyList<ShoppingListItemDto>> GetShoppingListAsync(Guid userId, DateOnly from, DateOnly to, CancellationToken ct = default);
|
||||
}
|
||||
Reference in New Issue
Block a user