Use repository entity