I want to implement some code to specify which type I want to use depending of the situation.
To do so, I want for example to call a repository depending on the type.