Possibility to create a DataController with repository already defined