The idea is to have the controller file as small as possible and move all the function logic into a different function in vm.controller.ts or verification-monitoring.ts (depending on which functions are being used in the function logic). If the function logic uses vm and verification monitoring services then put the logic in a vm function.
The idea is to use the controller just to get the data validation (DTOs) and then pass all that into a service function. In theory we should not have any extended logic in the controller function.
Source: https://www.reddit.com/r/Nestjs_framework/comments/se7fh1/i_am_new_to_nestjs_i_had_a_question_regarding/