Rename Methode

This commit is contained in:
franc
2025-05-05 17:12:06 +02:00
parent a0d05dcdc2
commit 7168d93621
@@ -23,7 +23,7 @@
return instruction ?? throw new InvalidDataException($"Instruction {instructionId} not found.");
}
public async Task<Instruction> CreateInstructionWithImageToRecipeAsync(Guid recipeId, string description, IFormFile? photo)
public async Task<Instruction> CreateInstructionAsync(Guid recipeId, string description, IFormFile? photo)
{
if (string.IsNullOrWhiteSpace(description))
{