Add more methods for improve sort logic
This commit is contained in:
@@ -6,12 +6,14 @@
|
||||
{
|
||||
Task<Instruction> GetInstructionAsync(Guid instructionId);
|
||||
|
||||
Task<Instruction> CreateInstructionToRecipeAsync(Guid recipeId, string description, int number);
|
||||
Task<Instruction> CreateInstructionToRecipeAsync(Guid recipeId, string description);
|
||||
|
||||
Task RemoveInstructionFromRecipeAsync(Guid recipeId, Guid instructionId);
|
||||
|
||||
Task SwapInstructionNumbersAsync(Instruction a, Instruction b);
|
||||
|
||||
Task<List<Instruction>> GetInstructionsOfRecipeAsync(Guid recipeId);
|
||||
|
||||
Task RenumberInstructionsAsync(Guid recipeId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user