* Extended functionalities
* Added different UIs
This commit is contained in:
12
MealPlan.Api/Services/IRecipeManagementService.cs
Normal file
12
MealPlan.Api/Services/IRecipeManagementService.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using MealPlan.Api.DTOs.Recipe;
|
||||
|
||||
namespace MealPlan.Api.Services;
|
||||
|
||||
public interface IRecipeManagementService
|
||||
{
|
||||
Task<RecipeDetailDto> CreateRecipeAsync(CreateRecipeDto dto, CancellationToken ct = default);
|
||||
|
||||
Task<RecipeDetailDto?> UpdateRecipeAsync(int id, CreateRecipeDto dto, CancellationToken ct = default);
|
||||
|
||||
Task<RecipeMacroRecalcResultDto> RecalculateAllMacrosFromCatalogAsync(CancellationToken ct = default);
|
||||
}
|
||||
Reference in New Issue
Block a user