Move parameters injection in an other method