franc
000cead877
- Replaced foreach loop with for loop for better index-based access to instructions.
...
- Added logic to dynamically retrieve media files for each instruction using `Request.Form.Files`.
- Ensured that media files are correctly associated with their respective instructions during recipe creation.
2025-05-05 12:01:53 +02:00
franc
7976545da6
Add Method for uploading Instruction Image to Controller and put ValidateAntiForgeryKey instead of AutoValidateAntiForgeryKey
2025-05-05 11:56:15 +02:00
franc
ca15b69677
create a js file with all scripts
2025-04-30 18:54:38 +02:00
franc
8b3489cf63
Add viewModels for creatingRecipes, Instruction and ingredient of Recipe
2025-04-30 18:53:20 +02:00
franc
9e7ff56099
Make New Migration to make Instruction nullable for avoid data inconsistenc
2025-04-30 18:51:36 +02:00
Francesco D'Amico
61f3e27738
Merge branch 'feature/ShoppingList-Logic' into 'develop'
...
ShoppingList Logic
See merge request francesco.damico/francescos.recipes.world!8
2025-04-29 07:21:41 +00:00
franc
a8fdca4871
Rename refactoring method
2025-04-29 09:16:18 +02:00
franc
327ba7b1cc
delete unnecessary service for shoppinglist
2025-04-29 09:04:42 +02:00
franc
3ca5b35cfe
Change some method logic
2025-04-29 09:04:18 +02:00
franc
5848697dec
Use model instead of view data
2025-04-28 16:06:31 +02:00
franc
93162f3a4b
using model instead of ViewData
2025-04-28 16:06:01 +02:00
franc
c001fee09d
Comment code
2025-04-28 16:04:29 +02:00
franc
d3a74196f2
Use new method in controller
2025-04-28 15:02:20 +02:00
franc
be211b12c6
Make methode to get SortedInstruction
2025-04-28 15:01:59 +02:00
franc
8dc53201ce
Create InstructionViewModel
2025-04-28 15:01:13 +02:00
franc
aa5cc3d683
Use InstructionViewModel
2025-04-28 15:00:50 +02:00
franc
e6a9e92748
Rename refactoring Method
2025-04-28 13:36:40 +02:00
franc
9c1584d621
Make two views for sort logic one for show the instructions and the other for add Instruction
2025-04-28 13:13:24 +02:00
franc
2f879d987b
Add more methods for improve sort logic
2025-04-28 13:11:28 +02:00
franc
bcc0a60669
Update Controller stuff with Repo Methods
2025-04-28 13:10:41 +02:00
franc
e169e94c8e
Solve format
2025-04-23 13:40:27 +02:00
franc
7035a9b64d
Add also here recipeId
2025-04-23 13:33:33 +02:00
franc
146cdf9bff
Remove unnecessary context dependency
2025-04-23 13:32:18 +02:00
franc
0d1f18ecf6
Just add scope for InstructionService
2025-04-23 13:28:24 +02:00
franc
0859e3aa2b
Add recipeid to the methods seperate the Id logic between instructionId and recipeId
2025-04-23 13:27:51 +02:00
franc
1bdb14e9d3
Rename Refactoring
2025-04-23 11:51:12 +02:00
franc
059e93cb86
Remove Blank line
2025-04-23 11:51:12 +02:00
franc
32aaec7d65
Remove the interface declaration for MoveInstructionAsync since it's now a private method
2025-04-23 11:51:12 +02:00
franc
825818645a
Refactoring some code and change logic and make sure to reduce db calls and avoid redundants
2025-04-23 11:51:12 +02:00
franc
d2560e2971
Implement the Sorting Logic
2025-04-23 11:51:12 +02:00
franc
0fb9333b82
Implement two methods for the sorting logic on the service
2025-04-23 11:51:12 +02:00
franc
12752c4834
Delete unecessary Route
2025-04-23 11:26:14 +02:00
franc
16a9d10844
Return PartialView instead an Redirection
2025-04-22 14:49:29 +02:00
franc
323af8d6f0
Create new folder for images and put one svg for favorite symbol
2025-04-22 14:42:46 +02:00
franc
1239f31673
add HTMX CSRF token header support
2025-04-22 14:42:04 +02:00
franc
5f92625c16
Make a PartialView for favorite System
2025-04-22 14:40:25 +02:00
franc
cc590fa65c
Make a rude Index Home Page with a bit style
2025-04-22 14:38:57 +02:00
franc
71c9f27d64
Including MediaFile of Recipe for show it on card
2025-04-22 14:37:19 +02:00
franc
cbd2ba7dfb
use ViewModel in Index action instead of raw entities
2025-04-22 14:32:19 +02:00
franc
35f2d1675d
Rename Refactoring
2025-04-17 11:41:20 +02:00
franc
4eaf03698c
Rename refactoring
2025-04-17 11:20:02 +02:00
franc
df146a24b0
Rename Refactoring
2025-04-17 11:15:15 +02:00
franc
0d6b9eb294
Rename refactoring
2025-04-17 10:49:40 +02:00
franc
556b22b8df
Rename Refactoring
2025-04-17 10:24:08 +02:00
franc
c225eedc8b
Fix some formatting and Rename Refactoring
2025-04-17 10:20:55 +02:00
franc
c07cdf7eae
Move Method Body on Repositroy and inject Repository on Service
2025-04-16 17:37:11 +02:00
franc
1110c74234
Clean the code and put Index EndPoint
2025-04-16 15:19:33 +02:00
franc
b8814ce708
Correct the Method and rename Method
2025-04-16 15:18:39 +02:00
franc
eb6d82a979
Add HomeController with search endpoint for querying recipes
2025-04-16 11:22:09 +02:00
franc
c8ff0dd9dd
Make a searchResultPartial and initial HomePage with filter system
2025-04-16 11:20:33 +02:00