Commit Graph

  • 1a91ec38dd Avoid datainconsistency franc 2025-05-05 12:26:19 +02:00
  • a76f757081 - Forgive an IFormFile Parameter for CreateInstructionWithImageToRecipeAsync -Refactor instruction number generation to simplify null-check and remove redundant increment - By creating an InstructionFile put Recipe Id to null for avoid Datainconsistency franc 2025-05-05 12:24:20 +02:00
  • 080c4eda78 Create ViewModels for the Create Recipe logic franc 2025-05-05 12:19:27 +02:00
  • 0d57d40651 Make Instruction and Recipe nullable for avoid data inconsistency franc 2025-05-05 12:18:22 +02:00
  • d131ec1d16 Implement a new endpoint to retrieve all units for a dynamic dropdown. franc 2025-05-05 12:17:06 +02:00
  • 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. franc 2025-05-05 12:01:53 +02:00
  • 7976545da6 Add Method for uploading Instruction Image to Controller and put ValidateAntiForgeryKey instead of AutoValidateAntiForgeryKey franc 2025-05-05 11:56:15 +02:00
  • ca15b69677 create a js file with all scripts franc 2025-04-30 18:54:38 +02:00
  • 8b3489cf63 Add viewModels for creatingRecipes, Instruction and ingredient of Recipe franc 2025-04-30 18:53:20 +02:00
  • 9e7ff56099 Make New Migration to make Instruction nullable for avoid data inconsistenc franc 2025-04-30 18:51:36 +02:00
  • 61f3e27738 Merge branch 'feature/ShoppingList-Logic' into 'develop' Francesco D'Amico 2025-04-29 07:21:41 +00:00
  • a8fdca4871 Rename refactoring method franc 2025-04-29 09:16:18 +02:00
  • 327ba7b1cc delete unnecessary service for shoppinglist franc 2025-04-29 09:04:42 +02:00
  • 3ca5b35cfe Change some method logic franc 2025-04-29 09:04:18 +02:00
  • 12aab06874 Merge branch 'feature/Sort-Logic-Instruction' into 'develop' Francesco D'Amico 2025-04-28 14:35:42 +00:00
  • 5848697dec Use model instead of view data franc 2025-04-28 16:06:31 +02:00
  • 93162f3a4b using model instead of ViewData franc 2025-04-28 16:06:01 +02:00
  • c001fee09d Comment code franc 2025-04-28 16:04:29 +02:00
  • d3a74196f2 Use new method in controller franc 2025-04-28 15:02:20 +02:00
  • be211b12c6 Make methode to get SortedInstruction franc 2025-04-28 15:01:59 +02:00
  • 8dc53201ce Create InstructionViewModel franc 2025-04-28 15:01:13 +02:00
  • aa5cc3d683 Use InstructionViewModel franc 2025-04-28 15:00:50 +02:00
  • e6a9e92748 Rename refactoring Method franc 2025-04-28 13:36:40 +02:00
  • 9c1584d621 Make two views for sort logic one for show the instructions and the other for add Instruction franc 2025-04-28 13:13:24 +02:00
  • 2f879d987b Add more methods for improve sort logic franc 2025-04-28 13:11:28 +02:00
  • bcc0a60669 Update Controller stuff with Repo Methods franc 2025-04-28 13:10:41 +02:00
  • e169e94c8e Solve format franc 2025-04-23 13:40:27 +02:00
  • cc30f5b149 Conflict resolve franc 2025-04-23 13:37:22 +02:00
  • 7035a9b64d Add also here recipeId franc 2025-04-23 13:33:33 +02:00
  • 146cdf9bff Remove unnecessary context dependency franc 2025-04-23 13:32:18 +02:00
  • 0d1f18ecf6 Just add scope for InstructionService franc 2025-04-23 13:28:24 +02:00
  • 0859e3aa2b Add recipeid to the methods seperate the Id logic between instructionId and recipeId franc 2025-04-23 13:27:51 +02:00
  • 1bdb14e9d3 Rename Refactoring franc 2025-04-17 10:34:12 +02:00
  • 059e93cb86 Remove Blank line franc 2025-04-16 17:27:41 +02:00
  • 32aaec7d65 Remove the interface declaration for MoveInstructionAsync since it's now a private method franc 2025-04-16 17:27:08 +02:00
  • 825818645a Refactoring some code and change logic and make sure to reduce db calls and avoid redundants franc 2025-04-16 17:22:19 +02:00
  • d2560e2971 Implement the Sorting Logic franc 2025-04-15 16:11:07 +02:00
  • 0fb9333b82 Implement two methods for the sorting logic on the service franc 2025-04-15 16:10:42 +02:00
  • 52b4e68fc6 Merge branch 'feature/HomePage-With-Categories-their-Recipes' into 'develop' Christian Hunziker 2025-04-23 09:27:22 +00:00
  • 12752c4834 Delete unecessary Route franc 2025-04-23 11:26:14 +02:00
  • 16a9d10844 Return PartialView instead an Redirection franc 2025-04-22 14:49:29 +02:00
  • 323af8d6f0 Create new folder for images and put one svg for favorite symbol franc 2025-04-22 14:42:46 +02:00
  • 1239f31673 add HTMX CSRF token header support franc 2025-04-22 14:42:04 +02:00
  • 5f92625c16 Make a PartialView for favorite System franc 2025-04-22 14:40:25 +02:00
  • cc590fa65c Make a rude Index Home Page with a bit style franc 2025-04-22 14:38:57 +02:00
  • 71c9f27d64 Including MediaFile of Recipe for show it on card franc 2025-04-22 14:37:19 +02:00
  • cbd2ba7dfb use ViewModel in Index action instead of raw entities franc 2025-04-22 14:32:19 +02:00
  • 9ed8158135 Merge branch 'feature/filter-Recipe-and-Ingredient' into 'develop' Dömu Brunner 2025-04-17 09:43:31 +00:00
  • 35f2d1675d Rename Refactoring franc 2025-04-17 11:41:20 +02:00
  • 4eaf03698c Rename refactoring franc 2025-04-17 11:20:02 +02:00
  • df146a24b0 Rename Refactoring franc 2025-04-17 11:15:15 +02:00
  • 0d6b9eb294 Rename refactoring franc 2025-04-17 10:49:40 +02:00
  • 71ac7eb03f Rename Refactoring franc 2025-04-17 10:34:12 +02:00
  • 556b22b8df Rename Refactoring franc 2025-04-17 10:24:08 +02:00
  • c225eedc8b Fix some formatting and Rename Refactoring franc 2025-04-17 10:20:55 +02:00
  • c07cdf7eae Move Method Body on Repositroy and inject Repository on Service franc 2025-04-16 17:37:11 +02:00
  • 032e2caf1b Remove Blank line franc 2025-04-16 17:27:41 +02:00
  • b7706de30c Remove the interface declaration for MoveInstructionAsync since it's now a private method franc 2025-04-16 17:27:08 +02:00
  • 4b084eea98 Refactoring some code and change logic and make sure to reduce db calls and avoid redundants franc 2025-04-16 17:22:19 +02:00
  • 1110c74234 Clean the code and put Index EndPoint franc 2025-04-16 15:19:33 +02:00
  • b8814ce708 Correct the Method and rename Method franc 2025-04-16 15:18:39 +02:00
  • eb6d82a979 Add HomeController with search endpoint for querying recipes franc 2025-04-16 11:22:09 +02:00
  • c8ff0dd9dd Make a searchResultPartial and initial HomePage with filter system franc 2025-04-16 11:20:33 +02:00
  • 3ec9d4be79 Create main Layout for Application/Web-Side franc 2025-04-16 11:18:10 +02:00
  • 2f33951c4e Change Search Logic franc 2025-04-16 11:17:42 +02:00
  • 84c75098cf Put one Method to Count all ShoppingListsRecipe franc 2025-04-15 16:20:08 +02:00
  • 71ebfcf4be Implement the Sorting Logic franc 2025-04-15 16:11:07 +02:00
  • 7d11eaf7ef Implement two methods for the sorting logic on the service franc 2025-04-15 16:10:42 +02:00
  • f64f1bf1ee Merge branch 'feature/Implement_All_Repositories' into 'develop' Francesco D'Amico 2025-04-14 11:15:17 +00:00
  • 603dc4a2c6 All thread resolved franc 2025-04-10 10:23:43 +02:00
  • 127a60b621 Refactoring some Code and clean Code franc 2025-04-09 15:37:44 +02:00
  • d248ccb1db Reapply "add CategoryController with endpoints" franc 2025-04-08 15:52:32 +02:00
  • 928743303c Revert "add CategoryController with endpoints" franc 2025-04-08 15:23:57 +02:00
  • 36bca4d658 add CategoryController with endpoints franc 2025-04-08 15:22:28 +02:00
  • 712b561d12 add shoppinglist managment for ingredient franc 2025-04-08 15:06:50 +02:00
  • ddd0cad36b add recipe managment franc 2025-04-08 15:06:23 +02:00
  • 31fbafe806 add repository logic for mediafile franc 2025-04-08 15:05:49 +02:00
  • d4bcf7980b add instruction management for recipes franc 2025-04-08 15:05:15 +02:00
  • ffebc376e1 implement ingredient management methods franc 2025-04-08 14:30:12 +02:00
  • e438e8a114 implement FavoritRepository for managing favorite recipes franc 2025-04-08 14:25:21 +02:00
  • c7543f8a49 Edit Program and csproj file Francesco D'Amico 2025-04-02 08:46:37 +02:00
  • 1fcf1a1c26 FilterByDifficulty testing Francesco D'Amico 2025-04-01 17:02:47 +02:00
  • 2acb4b4117 change some logic to the repositories Francesco D'Amico 2025-03-30 15:56:39 +02:00
  • c48d1bb5b2 make views for testing data Francesco D'Amico 2025-03-30 15:56:17 +02:00
  • b2ba51d297 update model Francesco D'Amico 2025-03-30 15:56:01 +02:00
  • afde272d8a Make new Migration and change logic of ingredientshoppinglist Francesco D'Amico 2025-03-30 15:55:19 +02:00
  • a4c8edb572 Write Controller for testing Data Francesco D'Amico 2025-03-30 15:53:26 +02:00
  • 5c94402c2f Merge branch 'feature/Project_Config' into 'develop' Dömu Brunner 2025-03-24 08:44:29 +00:00
  • 41f41ce3fb Fixed errors SA1516 Francesco D'Amico 2025-03-24 09:27:13 +01:00
  • 02533e9bfb Last files for merge Francesco D'Amico 2025-03-19 16:33:40 +01:00
  • b9d0bf2170 Edit .editconfig file Francesco D'Amico 2025-03-19 16:28:12 +01:00
  • 29faf5a99e Changed xml file on .gitignore Francesco D'Amico 2025-03-19 15:50:33 +01:00
  • ce2a5aceb2 update Microsoft.CodeAnalysis.NetAnalyzers to 9.0.0 Francesco D'Amico 2025-03-19 14:32:33 +01:00
  • 906d26c2ec Edit .gitignore file Francesco D'Amico 2025-03-19 14:22:55 +01:00
  • 5622e55441 Add some configuration to Project Francesco D'Amico 2025-03-19 13:56:21 +01:00
  • 1a8a0524a6 Merge branch 'feature/Create-Database-with-Models' into 'develop' Christian Hunziker 2025-03-19 09:55:42 +00:00
  • d1b8c3c7e0 Fix Formatting Francesco D'Amico 2025-03-19 10:52:01 +01:00
  • c498e23a07 Correct models unit and recipe and add a new migration Francesco D'Amico 2025-03-18 16:14:01 +01:00
  • a91ca743ab Revert "Correct Models Unit and Category" Francesco D'Amico 2025-03-18 15:45:14 +01:00
  • dfd2d2ee3f Delete unnecessary files Francesco D'Amico 2025-03-18 15:29:11 +01:00