added delete product from fridge endpoint, and fixed assosiation
Showing
- src/main/java/ntnu/idatt2016/v233/SmartMat/controller/group/FridgeController.java 29 additions, 6 deletions...2016/v233/SmartMat/controller/group/FridgeController.java
- src/main/java/ntnu/idatt2016/v233/SmartMat/entity/group/Fridge.java 4 additions, 1 deletion...ava/ntnu/idatt2016/v233/SmartMat/entity/group/Fridge.java
- src/main/java/ntnu/idatt2016/v233/SmartMat/entity/product/Product.java 4 additions, 1 deletion.../ntnu/idatt2016/v233/SmartMat/entity/product/Product.java
- src/main/java/ntnu/idatt2016/v233/SmartMat/repository/group/FridgeProductAssoRepository.java 0 additions, 23 deletions...martMat/repository/group/FridgeProductAssoRepository.java
- src/main/java/ntnu/idatt2016/v233/SmartMat/repository/product/FridgeProductAssoRepo.java 7 additions, 0 deletions...33/SmartMat/repository/product/FridgeProductAssoRepo.java
- src/main/java/ntnu/idatt2016/v233/SmartMat/service/group/FridgeProductAssoService.java 0 additions, 61 deletions...v233/SmartMat/service/group/FridgeProductAssoService.java
- src/main/java/ntnu/idatt2016/v233/SmartMat/service/group/FridgeService.java 53 additions, 31 deletions.../idatt2016/v233/SmartMat/service/group/FridgeService.java
- src/test/java/ntnu/idatt2016/v233/SmartMat/service/group/FridgeProductAssoServiceTest.java 0 additions, 92 deletions.../SmartMat/service/group/FridgeProductAssoServiceTest.java
- src/test/java/ntnu/idatt2016/v233/SmartMat/service/group/FridgeServiceTest.java 0 additions, 16 deletions...tt2016/v233/SmartMat/service/group/FridgeServiceTest.java
Loading
Please register or sign in to comment