This logic could be moved to the articleService. The service would be easier to test and is reusable. It's generally good to have as little logic as possible in these controllers.