Commit Graph

177 Commits

Author SHA1 Message Date
Francesco Lorenzo D'Amico febcdc1ced Change all magic strings with the consts 2025-06-03 14:17:35 +02:00
Francesco Lorenzo D'Amico 40690304fa Make const folder with all necessary constants 2025-06-03 14:17:35 +02:00
Francesco Lorenzo D'Amico e468a47782 Replaced DbContext registration to use SplitQuery mode 2025-06-03 14:17:35 +02:00
Francesco Lorenzo D'Amico 075aefc97d Make Favorite Site 2025-06-03 14:17:35 +02:00
Francesco Lorenzo D'Amico c20ed984c2 Replaced direct access to DB model properties with a dedicated ViewModel.
Added per-recipe HTMX form including AntiForgeryToken and dynamic star icon based on IsFavorite status.
2025-06-03 14:17:34 +02:00
Francesco Lorenzo D'Amico 28e60b79fa Refactor favorite button: wrap in form for better HTMX and AntiForgeryToken support 2025-06-03 14:17:34 +02:00
Francesco Lorenzo D'Amico 294f601085 Make some simple improvments 2025-06-03 14:17:34 +02:00
Francesco Lorenzo D'Amico e1dd694fb7 Optimize Searchfilter method 2025-06-03 14:17:25 +02:00
Francesco Lorenzo D'Amico ba61988840 Ensure that all favorites are retrieved, and when a recipe is added to favorites, include the creation date and time. 2025-06-03 14:16:24 +02:00
Francesco Lorenzo D'Amico 9ab1efde0e Use AsSplitQuery to optimize loading related data 2025-06-03 14:16:24 +02:00
Francesco Lorenzo D'Amico fcf03d0f62 Use AsSplitQuery for optimize loading related data 2025-06-03 14:16:24 +02:00
Francesco Lorenzo D'Amico 967542a0f1 Make a viewmodel for the main search 2025-06-03 14:16:24 +02:00
Francesco Lorenzo D'Amico c9f3f2b343 Make an viewmodel for the favorit sort 2025-06-03 14:16:24 +02:00
Francesco Lorenzo D'Amico bb049e674a Make an Endpoint for sort favorit to newsest and oldest 2025-06-03 14:16:24 +02:00
Francesco D'Amico 92c85da0c8 Merge branch 'feature/Recipe-Detail-Site' into 'develop'
Recipe-Detail-Site

See merge request francesco.damico/francescos.recipes.world!15
2025-06-03 08:21:44 +00:00
Francesco Lorenzo D'Amico c503e008a7 - remove blank line 2025-05-27 14:46:59 +02:00
Francesco Lorenzo D'Amico 907e19e398 Make the code more readable and easier with some style 2025-05-27 13:48:39 +02:00
Francesco Lorenzo D'Amico 5c9f6c8120 add comment for a specification of this code 2025-05-27 13:47:51 +02:00
Francesco Lorenzo D'Amico f2bb057a9b Change from HttpPost to HttpDelete 2025-05-27 13:47:13 +02:00
Francesco Lorenzo D'Amico 924b896a9a Remove empty line 2025-05-20 14:26:42 +02:00
Francesco Lorenzo D'Amico f89cf27be4 Add LIst instead of use an 2 dimensional array 2025-05-20 14:26:14 +02:00
Francesco Lorenzo D'Amico 06ef8927a7 Use one way of loading for avoid inconsistency 2025-05-20 14:25:19 +02:00
Francesco Lorenzo D'Amico 0c3b7380c5 Refactoring some Repo methods to not throw exception 2025-05-20 14:23:46 +02:00
Francesco Lorenzo D'Amico 8d9eb4b364 Everywhere an delete operation is name from HttpPost to HttpDelete 2025-05-20 14:22:28 +02:00
franc 3fe1948867 remove Service Folder 2025-05-14 12:01:59 +02:00
franc a5b70532e6 rest 2025-05-14 12:01:31 +02:00
franc da2fd1e61d change redirection to index 2025-05-14 12:01:20 +02:00
franc 1443284236 Add bootastrap for icon by darkMode and LightMode 2025-05-14 12:00:54 +02:00
franc e470dd11bb Make a partial view for adjust amount of ingredient 2025-05-14 11:57:03 +02:00
franc bfbfd34624 Create Grid for show instructions of recipe 2025-05-14 11:47:29 +02:00
franc aa6f27383f Move the Ingredient List stuff to a Partial view 2025-05-14 11:46:48 +02:00
franc 325120e5ec Add style to Instructions Grid Layout 2025-05-13 14:52:16 +02:00
franc a57ebd4507 Adjust endpoint path for navigation 2025-05-13 14:46:59 +02:00
franc 1c47b770b4 Add Method to delete whole recipe with their relations and include Mediafiles to Instruction by getting recipe 2025-05-13 14:45:39 +02:00
franc ff08b82611 1.) Add an eindpoint for deleting recipe with their connections
2.) Add Endpoint for adjust Ingredient Amount
2025-05-13 14:44:18 +02:00
Christian Hunziker 98dd9a049b Merge branch 'feature/Create-Recipe' into 'develop'
Create-Recipe

See merge request francesco.damico/francescos.recipes.world!14
2025-05-07 08:06:28 +00:00
franc 27d4fd5368 Solve Thread of mergeRequest 2025-05-07 10:03:02 +02:00
franc 7f6998c2de delete unnecessary view 2025-05-07 09:00:05 +02:00
franc 03932b380d change some things 2025-05-07 08:59:43 +02:00
franc a7cafb479b Use normal List instead interface list 2025-05-07 08:59:23 +02:00
franc 12b217ea59 Rename Method 2025-05-07 08:56:00 +02:00
franc 7bf43b1855 Change some things 2025-05-07 08:55:40 +02:00
franc 070df12049 Add new Attribut 2025-05-07 08:55:04 +02:00
franc d172642b1e Add an new Attribut 2025-05-07 08:54:18 +02:00
franc abb1d774fe Solve all thread from mergeRequest to RecipeController 2025-05-07 08:53:12 +02:00
franc 7168d93621 Rename Methode 2025-05-05 17:12:06 +02:00
franc a0d05dcdc2 change from ienumerable to list 2025-05-05 17:11:18 +02:00
franc 4928a3cc7d Move css style on a separate .css file 2025-05-05 17:10:40 +02:00
franc dc9a1f1b9c Move script section stuff that is implementet on more than one script section on layout 2025-05-05 17:10:05 +02:00
franc 402f5f2fe9 Rename method 2025-05-05 17:08:17 +02:00