18 lines
578 B
C#
18 lines
578 B
C#
using Seasoned.Backend.DTOs;
|
|
|
|
namespace Seasoned.Backend.Services;
|
|
|
|
public class RecipeService : IRecipeService
|
|
{
|
|
public async Task<RecipeResponseDto> ParseRecipeImageAsync(IFormFile image)
|
|
{
|
|
// Placeholder logic to satisfy the return type
|
|
return new RecipeResponseDto
|
|
{
|
|
Title = "Mock Recipe",
|
|
Description = "This is a placeholder until Gemini is linked.",
|
|
Ingredients = new List<string> { "Ingredient A", "Ingredient B" },
|
|
Instructions = new List<string> { "Cook it", "Eat it" }
|
|
};
|
|
}
|
|
} |