Files
DailyMeals/MealPlan.Api/Services/IRecipeExcelService.cs
Piotr Kus f15bb7a916 * Extended functionalities
* Added different UIs
2026-06-24 21:43:40 +02:00

13 lines
433 B
C#

using MealPlan.Api.DTOs.Recipe;
namespace MealPlan.Api.Services;
public interface IRecipeExcelService
{
/// <summary>Generates a blank .xlsx template with Recipes, Ingredients, and Steps sheets.</summary>
byte[] GenerateTemplate();
/// <summary>Parses an uploaded workbook and creates recipes in the database.</summary>
Task<RecipeImportResultDto> ImportAsync(Stream fileStream, CancellationToken ct = default);
}