Implement two methods for the sorting logic on the service
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user