constructor with parameter for EntityRepository