Rename Methode
This commit is contained in:
@@ -23,7 +23,7 @@
|
|||||||
return instruction ?? throw new InvalidDataException($"Instruction {instructionId} not found.");
|
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))
|
if (string.IsNullOrWhiteSpace(description))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user