Can anyone help me to refactor my messy code into a better one please! My task is to... Refactor my code in controllers to be more clean code and better for unit test with t