Ignore:
Timestamp:
01/03/23 23:14:33 (23 months ago)
Author:
andrejtodorovski <82031894+andrejtodorovski@…>
Branches:
main
Children:
ae042f4
Parents:
60de3eb
Message:

Moved products page and added services page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/com/example/autopartz/controller/UserController.java

    r60de3eb r6832924  
    1515public class UserController {
    1616    private final UserService userService;
    17     private final RepairShopReviewSummaryRepository repairShopReviewSummaryRepository;
    18 
    1917    private final OrdersForUserRepository ordersForUserRepository;
    2018    private final RepairsForUserRepository repairsForUserRepository;
    2119    private final ReviewsForUserRepository reviewsForUserRepository;
    22     public UserController(UserService userService, RepairShopReviewSummaryRepository repairShopReviewSummaryRepository, OrdersForUserRepository ordersForUserRepository, RepairsForUserRepository repairsForUserRepository, ReviewsForUserRepository reviewsForUserRepository) {
     20    public UserController(UserService userService, OrdersForUserRepository ordersForUserRepository, RepairsForUserRepository repairsForUserRepository, ReviewsForUserRepository reviewsForUserRepository) {
    2321        this.userService = userService;
    24         this.repairShopReviewSummaryRepository = repairShopReviewSummaryRepository;
    2522        this.ordersForUserRepository = ordersForUserRepository;
    2623        this.repairsForUserRepository = repairsForUserRepository;
    2724        this.reviewsForUserRepository = reviewsForUserRepository;
    28     }
    29     @GetMapping("reportTest")
    30     public List<RepairShopReviewsSummary> getRepairShopReport(){
    31         return repairShopReviewSummaryRepository.findAll();
    3225    }
    3326    @GetMapping("usersTest")
Note: See TracChangeset for help on using the changeset viewer.