Changed the Products Controller to use the repository instead