In order to maintain consistency and maintainability, implementing repositories will tidy up the controllers.