Use model instead of view data

This commit is contained in:
franc
2025-04-28 16:06:31 +02:00
parent 93162f3a4b
commit 5848697dec
@@ -30,6 +30,7 @@
const recipeId = '@Model.RecipeId';
async function moveInstructionUp(instructionId) {
try {
const response = await fetch(`/Recipe/${recipeId}/Instruction/${instructionId}/move-up`, {