getAllProducts: this technique sends every one of the requests for finding all products to your productService.getAllProducts() and returns them during the reaction physique.
There are many of areas to this https://sachinrjxl783541.blogtov.com/10756580/5-simple-statements-about-spring-boot-development-services-explained