Get a max number to some injection controlled controler using a dao object