Implement two methods for the sorting logic on the service

This commit is contained in:
franc
2025-04-15 16:10:42 +02:00
parent 52b4e68fc6
commit 0fb9333b82
2 changed files with 43 additions and 0 deletions
@@ -11,5 +11,9 @@
Task<List<Instruction>> GetInstructionsByRecipeIdAsync(Guid recipeId);
Task RemoveInstructionFromRecipeAsync(Guid recipeId, Guid instructionId);
Task SwapInstructionOrderAsync(Instruction a, Instruction b);
Task<Instruction> GetInstructionWithRecipeAsync(Guid instructionId);
}
}